Re: Cant locate problem with trunk: 'ModelForm' object has no attribute '_meta'
I added my case to this Django ticket. As far as I can tell its related to the changes mentioned there. http://code.djangoproject.com/ticket/15025 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Cant locate problem with trunk: 'ModelForm' object has no attribute '_meta'
> Could you please try again but rolling back your Django trunk installation to > revision 14991?. > Hi Ramiro, thank you for your help. It's funny cause I rolled back to 15000 to check :/ . It works fine with 14991. With trunk I was able to locate the error-cause down to a url tag of my template. Hope it helps to solve this Django issue. Too deep for me, but let me know if I can provide you with more information. If I remove this from my template, everything is fine: {% url profile_overview %} Url is defined as following: In my main urls.py: urlpatterns+= patterns('', (r'^account/', include('foo.pluggables.userprofile.urls')), userprofile/urls.py: urlpatterns = patterns('', url(r'^profile/$', overview, name='profile_overview'), The function overview can be empty, doesn't affect the error. Hope that helps you somehow. Martin -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Cant locate problem with trunk: 'ModelForm' object has no attribute '_meta'
On Sun, Jan 2, 2011 at 3:36 AM, Martin wrote: > Hey, > > could someone have a look at this, I updated to Django trunk and face > some problems. > > I get the error message ' 'ModelForm' object has no attribute > '_meta''. But the traceback doesn't have any position of my own code > inside. Only Django internal function calls. So I don't really know > how to locate the issue. > > > This is all I get when I load my site: http://dpaste.com/293197/ > Tried to reproduce it in the shell by importing all models, views, > urls, etc. but nothing. > > Could someone point out where I should look at? Could you please try again but rolling back your Django trunk installation to revision 14991?. I've been seeing similar errors after the changes to template rendering implemented in r14992 but I've been unable to point the exact reason and how to solve them. an additional, independent case would be of help. Thanks, -- Ramiro Morales -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Cant locate problem with trunk: 'ModelForm' object has no attribute '_meta'
Hey, could someone have a look at this, I updated to Django trunk and face some problems. I get the error message ' 'ModelForm' object has no attribute '_meta''. But the traceback doesn't have any position of my own code inside. Only Django internal function calls. So I don't really know how to locate the issue. This is all I get when I load my site: http://dpaste.com/293197/ Tried to reproduce it in the shell by importing all models, views, urls, etc. but nothing. Could someone point out where I should look at? Thank you for your time! :) Best regards Martin -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.