Re: Getting back to the same page after completing a task in another page

2008-05-15 Thread Adi J. Sieker
M.Ganesh wrote: > 6. The login page that comes with contrib.auth is too colourful compared > to other pages, and also exposes the admin page to the users unnecessarily. The login page doesn't have anything todo with the admin page and if it's colorful or not is up to you. The admin has a

Re: Getting back to the same page after completing a task in another page

2008-05-15 Thread M.Ganesh
Adi Jörg Sieker wrote: > > On 13.05.2008, at 16:18, phillc wrote: > >> >> "I am new to web programming" >> "I am trying to use my own loginpage " >> >> is there a reason that contrib.auth doesnt meet your needs? >> > Good question. :) > > adi > Yes, I do agree, these two statements put next to

Re: Getting back to the same page after completing a task in another page

2008-05-13 Thread Adi Jörg Sieker
On 13.05.2008, at 16:18, phillc wrote: > > "I am new to web programming" > "I am trying to use my own loginpage " > > is there a reason that contrib.auth doesnt meet your needs? > Good question. :) adi -- Adi J. Sieker mobile: +49 - 178 - 88 5 88 13 Freelance developer skype:

Re: Getting back to the same page after completing a task in another page

2008-05-13 Thread phillc
"I am new to web programming" "I am trying to use my own loginpage " is there a reason that contrib.auth doesnt meet your needs? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: Getting back to the same page after completing a task in another page

2008-05-12 Thread M.Ganesh
Adi Jörg Sieker wrote: > Hi, > On 12.05.2008, at 22:07, Adi Jörg Sieker wrote: > >> but the idea is the same. >> >> def login_view(request, next_url_from_page): > this might need to be a default parameter like: > def login_view(request, next_url_from_page=None): > >> if request.method == 'POST':

Re: Getting back to the same page after completing a task in another page

2008-05-12 Thread Adi Jörg Sieker
Hi, On 12.05.2008, at 22:07, Adi Jörg Sieker wrote: > but the idea is the same. > > def login_view(request, next_url_from_page): this might need to be a default parameter like: def login_view(request, next_url_from_page=None): > if request.method == 'POST': > do your login

Re: Getting back to the same page after completing a task in another page

2008-05-12 Thread Adi Jörg Sieker
On 12.05.2008, at 20:59, M.Ganesh wrote: > > Adi Jörg Sieker wrote: >> >> On 12.05.2008, at 15:13, M.Ganesh wrote: >> >>> Thanks Ronny for your response, however this doesn't answer my >>> requirement. Probably I've to state my requirement more clearly. >>> I have >>> various pages for

Re: Getting back to the same page after completing a task in another page

2008-05-12 Thread M.Ganesh
Valts Mazurs wrote: > On Mon, May 12, 2008 at 4:13 PM, M.Ganesh <[EMAIL PROTECTED] > > wrote: > > > Thanks Ronny for your response, however this doesn't answer my > requirement. Probably I've to state my requirement more clearly. > I have > various

Re: Getting back to the same page after completing a task in another page

2008-05-12 Thread M.Ganesh
Adi Jörg Sieker wrote: > > On 12.05.2008, at 15:13, M.Ganesh wrote: > >> Thanks Ronny for your response, however this doesn't answer my >> requirement. Probably I've to state my requirement more clearly. I have >> various pages for general viewing where authentication is not required. >> But if

Re: Getting back to the same page after completing a task in another page

2008-05-12 Thread Adi Jörg Sieker
On 12.05.2008, at 15:13, M.Ganesh wrote: > Thanks Ronny for your response, however this doesn't answer my > requirement. Probably I've to state my requirement more clearly. I > have > various pages for general viewing where authentication is not > required. > But if a user decides to add a

Re: Getting back to the same page after completing a task in another page

2008-05-12 Thread Valts Mazurs
On Mon, May 12, 2008 at 4:13 PM, M.Ganesh <[EMAIL PROTECTED]> wrote: > > Thanks Ronny for your response, however this doesn't answer my > requirement. Probably I've to state my requirement more clearly. I have > various pages for general viewing where authentication is not required. > But if a

Re: Getting back to the same page after completing a task in another page

2008-05-12 Thread M.Ganesh
Ronny Haryanto wrote: > On Sun, May 11, 2008 at 11:55 AM, M.Ganesh <[EMAIL PROTECTED]> wrote: > >> I am displaying a list of records in a page. I have a link in that page >> which will take me to a form for adding one more record. How do I come >> back to the previous page after adding a

Re: Getting back to the same page after completing a task in another page

2008-05-11 Thread Ronny Haryanto
On Sun, May 11, 2008 at 11:55 AM, M.Ganesh <[EMAIL PROTECTED]> wrote: > I am displaying a list of records in a page. I have a link in that page > which will take me to a form for adding one more record. How do I come > back to the previous page after adding a record? If the "previous page" is

Getting back to the same page after completing a task in another page

2008-05-10 Thread M.Ganesh
Hi all, Trying to learn django. I am displaying a list of records in a page. I have a link in that page which will take me to a form for adding one more record. How do I come back to the previous page after adding a record? I remember seeing somewhere a trick involving something like