Comments (6)
Hi Nosrevelk
what is the version of django your are running ? And your version of mptt.
And can you paste the full traceback somewhere for having more informations ?
from django-blog-zinnia.
Django 1.2.3 (mod_wsgi 3.2/Python 2.6) (running on webfaction shared plan)
import mptt
print mptt.VERSION
(0, 3, 1)
Link to full trackback:
http://dpaste.com/287673/
Thanks Fanto!
Obs. I just read in another issue you saying we should use mptt 0.4.1, so I'm going to try the newest one and see if that will fix it.
Obs2. Well same error with mptt 0.4.2 - http://dpaste.com/287695/
from django-blog-zinnia.
I have just finish to read your tracebacks,
and I have a question, do you have modified the admin ?
It seems that is the get_sites method which fails miserably. Your traceback say that method is located at line 98 but in my version is at line 113.
But what seems the most weird for me, is that Site table have no relations with the Entry table but have a relation with the Comment table...
For the now, I don't see the origin of this behavior.
from django-blog-zinnia.
Hmmm, well I changed the models.py to autoselect the site:
sites = models.ManyToManyField(Site, default=str(Site.objects.get_current().id),
verbose_name=_('sites publication'))
I tried to update the admin/entry.py but i'm getting an error so hmmm... better run a few tests... i'll let you know if i find anything.
Thanks again!!!
Obs. I think it will be faster to start a project from zero and now that I know the structure a little I won't mess around too much.
from django-blog-zinnia.
I think it's coming from this modification, because I have already experienced this kind of issue with this your example code.
The good news for you is that autoselection for site is now implemented in this commit.
252b8e1
Update your code and tell me if it works fine.
Have a nice day.
from django-blog-zinnia.
Yeah I just saw :)
I'm skinning the blog atm on local.
Thanks again for your help Fanto.
from django-blog-zinnia.
Related Issues (20)
- Adding hyperlinks within entry posts and comments input areas
- Replacing default theme's zinnia logo? HOT 1
- Future entries in Similar entries section Detail view
- Mailing list no longer exists
- No module named parse at urllib.parse - python 2.7 problem HOT 3
- Pagination Causes ValueError from Breadcrumbs HOT 3
- Password protected entries have an incomplete context HOT 1
- hi, when will support django 2.x? HOT 3
- Implement Views Count HOT 1
- Documentation offline HOT 5
- On a fresh install of Django 2.1 or Django 2.2 a new migration is created on makemigrations.
- item_enclosure_url is None, leading to a TypeError with mimetypes.guess_type(url)
- Unable build following installation instructuins HOT 5
- Documentation & demo site down HOT 5
- IndexErrors from breadcrumbs.py line 95 HOT 1
- HTML generated from markup source is not cached, leading to performance issues HOT 1
- django-blog-zinnia.com is hosting malware HOT 7
- Is this project still alive?
- PLEASE COMMENT: Should this project be forked for continued development? HOT 8
- Visit the New UPDATED Django Blog Zinnia Fork as of 2022 HOT 5
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 django-blog-zinnia.