Hello, folks
I'm trying to use django-pluggables ( https://github.com/nowells/django-pluggables) and I'm having a very hard time figuring out how to set it up. The documentation is slender and the example app has the same name as its one and only model, which is very different from my case. So far, a lot is working, but the pluggable urlconf has been giving me a real hard time for a couple of days now. I have a main app called 'analysis' that defines models Order and Customer. I also have a secondary app called 'report' which I would like to use to generate statistics on Orders and Customers on a table-level. The problem is that I can't do an url reverse on urls defined on that 'report' app, no matter how I try to import its urls. If anyone could please explain how django-pluggables expects me set this up, I'd be eternally thankful. Here are some tiny, yet relevant parts of my code which should make my case clearer: http://tinyurl.com/analysis-urls http://tinyurl.com/analysis-views http://tinyurl.com/report-urls-traditional I think one of the issues that needs attention is this line from the example app: https://github.com/nowells/django-pluggables/blob/master/examples/sillywalks/views.py#L62 What exactly am I supposed to pass to my version of that class? Finally, my traceback: http://dpaste.com/444858/ FTR, using {% url %} instead of {% pluggable_url %} yields the same error. Thanks again in advance! Sincerely, Andre Terra -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.