Comments (6)
hey there, could you paste a link to the traceback ? (pastebin)
from aldryn-blog.
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.
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.
@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.
@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.
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)
- Slug validation missing HOT 3
- Can't Install because of Django-Select 2 HOT 2
- What a working version for django-cms 3.0.2? HOT 5
- Blog content user perspective HOT 3
- TemplateDoesNotExist at /admin/aldryn_blog/category/add/ HOT 4
- Aldryn-blog installation error HOT 1
- error during migration
- "View on site" produces URL containing a double slash
- Missing Translations
- Custom templates? HOT 3
- Bulk upload? HOT 1
- IntegrityError when saving post without slug and same title as another post
- Can't add the body content...
- Can't use dumpdata command HOT 1
- Cant' install aldryn-blog HOT 1
- Custom User model not being used in Utils.py giving error when clicking on Author
- Can't sync the db HOT 4
- Aldryn Blog Placeholder Missing
- KeyError 'FileImagePlugin'
- NoReverseMatch at /en/admin/r/72/2/
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aldryn-blog.