Monday, January 3, 2011

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-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment