Coder Social home page Coder Social logo

Import error about webassets HOT 4 CLOSED

miracle2k avatar miracle2k commented on August 19, 2024
Import error

from webassets.

Comments (4)

msamoylov avatar msamoylov commented on August 19, 2024
--- a/django_assets/management/commands/assets.py
+++ b/django_assets/management/commands/assets.py
@@ -24,7 +24,7 @@ from django import template

 from django_assets.conf import settings
 from django_assets.templatetags.assets import AssetsNode as     AssetsNodeOriginal
-from django.templatetags.assets import AssetsNode as AssetsNodeMapped
+from django_assets.templatetags.assets import AssetsNode as AssetsNodeMapped
 from django_assets.merge import process
 from django_assets import registry, Bundle

from webassets.

miracle2k avatar miracle2k commented on August 19, 2024

Django #12295 removed the templatetags path hack, which broke things. This should make us compatible with the current 1.2 dev version again. Thanks to msamoylov for the report. Closed by 3c50b7a.

from webassets.

dbrgn avatar dbrgn commented on August 19, 2024

Current django-assets version does not work with Django 1.3... Would be cool if you could upload an updated version to PyPI :)

from webassets.

miracle2k avatar miracle2k commented on August 19, 2024

I will release a new version soon, but in case you have a specific problem with Django 1.3, consider reporting those so a fix can make it into that release.

I don't remember any bugs that would cause the old version to not work in 1.3.

from webassets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.