sachinas / django-reporting

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

Different Imports Cause Registry to Disappear #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
To trigger:
  Use imports other than "from reporting..." in some settings.

This was extremely annoying, but fortunately the admin fixed this for us: 
keep the registry in the site module (already included) and import it in 
__init__.py using a consistent import mechanism (read: everyone uses that 
import mechanism).

Patch attached.

Original issue reported on code.google.com by mcax...@gmail.com on 7 Jan 2010 at 5:03

Attachments:

GoogleCodeExporter commented 9 years ago
Forgot to add a patch for views.py to use site as well.

Original comment by mcax...@gmail.com on 7 Jan 2010 at 7:47

Attachments: