Gauravwagh / django-grappelli

Automatically exported from code.google.com/p/django-grappelli
Other
0 stars 0 forks source link

grappelli.views.generic no longer exists #308

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. checkout any revision r1316-r1324 (current HEAD)
2. rm any existing generic.pyc file:

  rm grappelli/views/generic.pyc

3. hit any page on your test app.  You should get this error:

Caught ViewDoesNotExist while rendering: Could not import 
grappelli.views.generic. Error was: No module named generic

This error is caused by an entry in urls.py that is no longer used and is 
referring to a method in the now non-existant grappelli/views/generic.py.  
Since this url is no longer used, just remove it from urls.py.

    # GENERIC
    url(r'^lookup/obj/$', 'grappelli.views.generic.generic_lookup', name="grp_generic_lookup"),

Original issue reported on code.google.com by istru...@gmail.com on 27 Nov 2010 at 10:37

Attachments:

GoogleCodeExporter commented 9 years ago
fixed with r1325. thanks for reporting.

Original comment by sehmaschine on 28 Nov 2010 at 2:40