Actually i had the url matching that was matchin all the request and
send it to home.
the problem was that in the home view i accidentally copied a
logout(request) into the view and obviusly every time it was logging
out me.
now it works.
On Oct 6, 4:05 pm, Victor Rocha wrote:
> Depending on wha
Depending on what exactly you want to accomplish to match the root to a
url, I do as follow:
url(r'^$', 'earth.views.Home'),
However, it is sometimes good to have a default page if a request didnt
match the url requested (I would use this as the very last rule, otherwise
it will catch every req
I suspect Bill's answer is what you are looking for as regards the
url. However, it won't solve the password problem
On 10/6/12, Stefano T wrote:
> What i want is to match the root of my website with a url.
>
> On Saturday, October 6, 2012 12:53:08 AM UTC+2, ke1g wrote:
>>
>> All urls match this.
What i want is to match the root of my website with a url.
On Saturday, October 6, 2012 12:53:08 AM UTC+2, ke1g wrote:
>
> 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,
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
wrote:
> wait i may have spotted out the problem:
> if i've an app, is this the correct url pattern for
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 i
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
On Fri, Oct 5, 2012 at 10:57 AM, Stefano T
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 beginni
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 unti
9 matches
Mail list logo