Hello,

So I'm working on a third party Django app, and we use a couple generic
views, specifically login and logout.

For the urls.py in a project that uses our app, we do this:

    (r'^path', include(smug.urls), {'repo': 'docs'})

Our own views need the repo kwarg. This is something necessary for our
views to work.

My question is how to get generic views to ignore this kwarg. We include
a couple url patterns in smug.urls that use generic views, and they die
because they get this extra kwarg. Is there a way to explicitly turn
this off, or do we need to put our generic views in a separate python
module (smug.genericurls for example)?

We'd really rather use the generic views, but they seem a bit picky for
some of the crazy stuff we're doing. If there's a way to turn that
behavior off, great. If not, we can split it out.

Thanks!


Jeff Anderson

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to