Re: Learning Django problems

2015-07-30 Thread Stas soroka
> On Wed, Jul 29, 2015 at 11:33 AM, Stas soroka > wrote: > >> I'm currently reading a book "Learning Django Web Development". Even >> thoug I followed the book carefully, it says, that my page should look like >> this: >> >> >> &l

Re: Learning Django problems

2015-07-30 Thread Stas soroka
Jul 2015 16:50, "Roshan Pannase" > > wrote: > >> sir i am a new learner can you send me the code of this application >> >> On Wed, Jul 29, 2015 at 11:33 AM, Stas soroka > > wrote: >> >>> I'm currently reading a book "Learning Dj

Learning Django problems

2015-07-29 Thread Stas soroka
currently have - GitHub <https://github.com/Stas-Soroka/Learning_Django> -- 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...@google

Re: login() logs in but somehow the login script overlaps all other Templates and Methodes

2008-10-15 Thread Stas
I found my mistake. I forgot the $ in the Url patterns :(. Well but still smthg realy strange going on. Now im able to redirect to other methods but those wich have login requiered have the ussername and Password form <.< even if the form for login isn´t declared in any template. So my forms neve

login() logs in but somehow the login script overlaps all other Templates and Methodes

2008-10-15 Thread Stas
As mentioned in the title he logs in but blocks the rest of the methods. I also user @login_required in one of my view methods. But the login method even blocks the methods without @login_required. I´m trying for days now and can´t find my error. I created the project with a 1.1 alpha version of d

a href in Template redirects right but the wrong template is loading

2008-10-08 Thread Stas
hi all. I use this code in my view for login a user in def logmein(request): if request.POST: username = request.POST['username'] password = request.POST['password'] user = authenticate(username=username,password=password) if user is not None: if u