Hi, It's probably possible. Do you mean url reversing the login view, or url reversing the view where login is required?
Collin On Sunday, November 30, 2014 11:07:42 PM UTC-5, Rootz wrote: > > Hi can this work with url reversing namespaced urls? > thanks > > On Thursday, October 16, 2014 11:54:45 AM UTC-5, Vijay Khemlani wrote: >> >> If you are usign class based generic views you can use the decorators in >> the URL config of your app, for example >> >> urlpatterns = patterns('', >> (r'^about/', login_required(AboutView.as_view())), >> ) >> >> >> On Thu, Oct 16, 2014 at 12:49 PM, Rootz <arc4...@gmail.com> wrote: >> >>> Can I use both Generic View and the Django.contrib.auth features (such >>> as login_required decorator and other auth interface tool)? And if it is >>> not possible to integrate auth into Generic Views then can you recommend >>> alternative way of making the two work together? Adding to this I am using >>> Django 1.7v and python 3.4v. >>> >>> Thank you >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Django users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to django-users...@googlegroups.com. >>> To post to this group, send email to django...@googlegroups.com. >>> Visit this group at http://groups.google.com/group/django-users. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-users/09fe215a-4572-418c-959f-567e9ab05b0b%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/django-users/09fe215a-4572-418c-959f-567e9ab05b0b%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2a61f4c5-4406-4dd3-a893-df18882d8684%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.