What do you mean by "set up the urls so you'll have it"?


On Oct 18, 12:12 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On Sat, Oct 18, 2008 at 10:22 AM, Heather <[EMAIL PROTECTED]> wrote:
> > Well, after trying to work this out a bit more, it looks like a nice
> > solution is to make a middleware class and use the process_views() but
> > I'm not quite at the answer yet.
>
> Generally, I don't consider the URLs for an application to be set in
> stone; especially with views which are meant to be configurable
> through arguments passed in the URLConf, wiring up a few patterns of
> your own is something to be actively encouraged. So if you want
> login_required, set up the URLs so you'll have it.
>
> (as an aside, though, this has been a tricky thing to convince people
> of with some of my own apps, to the point that I've started adding
> docstrings to default URLConf modules saying "these are just defaults,
> and you really should feel free to change them or do your own thing if
> you want")
>
> --
> "Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to