All urls match this.  The regular expression says "any URL that starts
from the beginning, no matter what follows.  I suspect that you want
'r^$'

Bill

On Fri, Oct 5, 2012 at 2:15 PM, Stefano T
<stefano.tranquill...@gmail.com> wrote:
> wait i may have spotted out the problem:
> if i've an app, is this the correct url pattern for the homepage?
>
>     url(r'^', 'earth.views.Home'),
>
> or does it take ll the urls?
>
>
> On Friday, October 5, 2012 8:10:09 PM UTC+2, Stefano T wrote:
>>
>> i didn't est SESSION_COOKIE_AGE anywhere, so i suppose it's set to its
>> default value.
>> Cookies are enabled.
>> i'm facing the problem in chrome (i deleted all the browser data, nothing
>> changed)
>> with FF it works.
>> Before it was working with chrome, suddently it stopped.
>>
>> On Friday, October 5, 2012 7:32:16 PM UTC+2, larry....@gmail.com wrote:
>>>
>>> On Fri, Oct 5, 2012 at 10:57 AM, Stefano T
>>> <stefano.tr...@gmail.com> wrote:
>>> > Hi all.
>>> > i'm new to django and i'm facing a problem i can't solve so far.
>>> > Basically, when i log in in the admin part, every operation i do it
>>> > ask me for the login. doesn't matter which browser i user, it's always
>>> > the same.
>>> > at the beginning it was acting normally: once logged in i stay logged
>>> > in until the logout.
>>> > idea?
>>>
>>> What is SESSION_COOKIE_AGE set to in your settings file? Or are
>>> cookies disabled for your browser?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/jJ7LrE2_TC0J.
>
> 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