Yes I was trying to implement it for learning django properly. Alright , I
got your point.
On Thu, Mar 20, 2014 at 9:55 PM, C. Kirby wrote:
> Are you building your own authentication system as a learning opportunity
> or to actually use in a production system? If it is for a
Are you building your own authentication system as a learning opportunity
or to actually use in a production system? If it is for a production system
then...don't. There is quite a bit of code in django Users to handle
passwords and keep passwords safe and authentication secure.
If you want to
You need to have sessions if you want login so you can tie a browser to a user,
and the CSRF is tied to the session cookie.
F.
On Mar 20, 2014, at 11:28 AM, Aryak Sengupta wrote:
> Alright... Thanks a lot. But do I really require using sessions for
>
Alright... Thanks a lot. But do I really require using sessions for
implementing this simple functionality ... Or is it just a bad design that
I had been trying?
On 20 Mar 2014 20:28, "François Schiettecatte"
wrote:
> See
See https://docs.djangoproject.com/en/1.6/topics/http/sessions/
On Mar 20, 2014, at 10:50 AM, Aryak Sengupta wrote:
> Can you please elaborate
>
> On 20 Mar 2014 20:17, "François Schiettecatte"
> wrote:
> You may be missing some
Can you please elaborate
On 20 Mar 2014 20:17, "François Schiettecatte"
wrote:
> You may be missing some middleware, eg:
>
> 'django.contrib.sessions.middleware.SessionMiddleware',
> 'django.middleware.csrf.CsrfViewMiddleware',
>
>
You may be missing some middleware, eg:
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.sessions',
Maybe your browser is rejecting cookies.
François
On Mar 20, 2014, at 10:43 AM, Aryak Sengupta
Yes I do Where am I going wrong then?
On 20 Mar 2014 20:06, "Robin Lery" wrote:
> do you have {% csrf_token % } in your forms?
>
>
> On Thu, Mar 20, 2014 at 7:36 PM, Aryak Sengupta
> wrote:
>
>> I am new to Django (but not new to python) and I
do you have {% csrf_token % } in your forms?
On Thu, Mar 20, 2014 at 7:36 PM, Aryak Sengupta wrote:
> I am new to Django (but not new to python) and I am looking forward to
> create a customized page using django. I have read about django's inbuilt
> authentication
I am new to Django (but not new to python) and I am looking forward to
create a customized page using django. I have read about django's inbuilt
authentication system but I want build it from scratch So here are the few
ideas I am stumbling upon :
1. Creating a *users* class in the
Hi,
Just a hunch, but it kinda smells like your web server isn't executing the CGI
script. I'd suggest checking into what is necessary to get your server to
execute CGI, vs serving it up as text.
On Oct 15, 2012, at 5:40 AM, Pervez Mulla wrote:
> Instead of CGI server path , I places perl
Instead of CGI server path , I places perl script in static folder and
given path for that .
On Mon, Oct 15, 2012 at 4:09 PM, Pervez Mulla wrote:
> responseText: #!/usr/bin/perl -T use CGI; use DBI; use strict; use
> warnings; use netsharkusr; my $cgi = CGI->new; my
responseText: #!/usr/bin/perl -T use CGI; use DBI; use strict; use
warnings; use netsharkusr; my $cgi = CGI->new; my $username =
$cgi->param("username"); my $password = $cgi->param("password"); my
$tempuser = new netsharkusr(); if($tempuser->readbyusername($username) eq
1) {
please provide error
2012/10/15 Pervez Mulla :
> On error note its printing all pelr script itself.
>
>
> On Mon, Oct 15, 2012 at 3:31 PM, Sergiy Khohlov wrote:
>>
>> please provide error message
>>
>> 2012/10/15 Pervez Mulla :
>>
On error note its printing all pelr script itself.
On Mon, Oct 15, 2012 at 3:31 PM, Sergiy Khohlov wrote:
> please provide error message
>
> 2012/10/15 Pervez Mulla :
> > Thank You for your response Sergiy ,
> >
> > I already try'd to run this script
please provide error message
2012/10/15 Pervez Mulla :
> Thank You for your response Sergiy ,
>
> I already try'd to run this script as shown in Django DOC as u given .but
> still it didnt work:(
>
> Thank You
> Pervez
>
> On Mon, Oct 15, 2012 at 1:28 PM, Sergiy Khohlov
Thank You for your response Sergiy ,
I already try'd to run this script as shown in Django DOC as u given .but
still it didnt work:(
Thank You
Pervez
On Mon, Oct 15, 2012 at 1:28 PM, Sergiy Khohlov wrote:
>
https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-LOGIN_URL
set this one in setting.py
2012/10/15 Pervez Mulla :
> Hi,
>
> I have login.html , login,js ang login.pl.
>
> I want to integrate basic login page in Django with perl back-end from where
> Am
Hi,
I have login.html , login,js ang login.pl.
I want to integrate basic login page in Django with perl back-end from
where Am reading my DB.
I was trying to integrate it from last day but come out with empty .There
might be some settings in setting.py.
Below is my code
--
19 matches
Mail list logo