On Mon, Mar 11, 2013 at 2:21 PM, Tom Evans wrote:
> On Mon, Mar 11, 2013 at 2:00 PM, jayhalleaux wrote:
Any ideas on question 1? how to use named urls in settings.py?
>>
>
> The problem with having named URLs in settings.py (also some other
> places, models.py for instance) is that at this p
On Mon, Mar 11, 2013 at 2:00 PM, jayhalleaux wrote:
>>> Any ideas on question 1? how to use named urls in settings.py?
>
The problem with having named URLs in settings.py (also some other
places, models.py for instance) is that at this point, the URL
resolving architecture has not yet been comple
>
> Any ideas on question 1? how to use named urls in settings.py?
>
>
--
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
thanks... i totally blanked as to where i was making the mistake.
On Saturday, March 9, 2013 3:39:06 AM UTC-5, Atul Bhouraskar wrote:
>
>
> I'll try to answer your second question:
>
> On Saturday, 9 March 2013 16:07:46 UTC+11, jayhalleaux wrote:
>>
>>
>>
>
>
>> 2. Accessing user profile data
I'll try to answer your second question:
On Saturday, 9 March 2013 16:07:46 UTC+11, jayhalleaux wrote:
>
>
>
> 2. Accessing user profile data from a session.
>
> Example:
>
> models.py
>
> from django.contrib.auth.models import User
>
> class UserProfile(models.Model):
>
> user = mo
So I have two questions:
1. Changing LOGIN_REDIRECT to a named url.
Example:
settings.py:
LOGIN_REDIRECT = ?? // what do i set it to, 'tracklist:profile' gives me
an unsafe redirect error
urls.py: // which one? your root urls.py or your application urls.py
from django.conf.urls import inc
6 matches
Mail list logo