Coder Social home page Coder Social logo

Comments (6)

czpython avatar czpython commented on June 23, 2024

hey there, could you paste a link to the traceback ? (pastebin)

from aldryn-blog.

neaai avatar neaai commented on June 23, 2024

Hello,
Here is a paste of the traceback generated.
http://dpaste.com/hold/1786962/
I have generated this by following the above mentioned steps, but without changing the "urls.py" file of the project as shown within the CUT/CUT section.

from aldryn-blog.

czpython avatar czpython commented on June 23, 2024

so you only get this error whenselect2 is not in the urls.py ?
If so then yes it is a documentation issue because select2 needs to be installed following it's own installation docs. This includes adding it to the urls.py, please let me know if this is the case 😄 .

from aldryn-blog.

neaai avatar neaai commented on June 23, 2024

@czpython
Yes, the problem is fixed when adding select2 line in 'urls.py' of the project. I guess the confusion came because dselect2 as installed automatically as a dependency by aldryn-blog. The django-select2 package docs do mention this, but probably it needs to be mentioned as well in the blog's docs too, in the same manner it mentions the lines that need to be added at INSTALLED_APPS.

While we are at this discussion, when adding the select2 line at 'urls.py', in which section it is better to put it, at "patterns" or "i18n_patterns"? Would it make any difference in behaviour and functionality?

Thank you and regards.

from aldryn-blog.

czpython avatar czpython commented on June 23, 2024

@neaai personally I would put it in i18n_patterns if you are using django's multilanguage feature. And this is because the view deals with db objects that might need to be language aware.

from aldryn-blog.

sfwatergit avatar sfwatergit commented on June 23, 2024

Hi,

I ran into this same problem with the same fix, but only after a good bit of head scratching. I agree with @neaai that it should be in the docs somewhere, since following the CMS tutorial to the letter will lead all users down the same path. Seems it would be good to mention in both places.

Thanks!

from aldryn-blog.

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.