Hey Nowell,

Sorry for not replying earlier, but I just made it work today. Apparently, I
hadn't set up my report views properly, which is the PluggableApp. I didn't
think to look inside __init__.py at first, and it turns out I was missing a
lot of code in there.

Thanks anyway for your prompt response!


Sincerely,
André Terra


On Fri, Feb 25, 2011 at 1:45 PM, Nowell Strite <nowellbstr...@gmail.com>wrote:

> Hey Andra,
>
> I will try and take a look at this this weekend or next week. Can you
> post your urls.py file that corresponds to the page generating the
> error and for the requested pluggable_url
>
> Thanks,
> Nowell
>
> On Feb 24, 10:15 am, Andre Terra <andrete...@gmail.com> wrote:
> > 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-urlshttp://tinyurl.com/analysis-viewshttp://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/sil...
> >
> > 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.
>
>

-- 
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.

Reply via email to