Re: Help to implement custome user login

2022-08-09 Thread Samuel Alie Mansaray
How to add apps in django new version? On Fri, 5 Aug 2022, 20:00 vijay chourey, wrote: > Even you can extend your user modle and can store your extra fields and > OTP verification field. It's posible to change your email to phone based > login. > > On Fri, 5 Aug, 2022, 7:29 pm Rinki Prasad,

Re: Help to implement custome user login

2022-08-05 Thread vijay chourey
Even you can extend your user modle and can store your extra fields and OTP verification field. It's posible to change your email to phone based login. On Fri, 5 Aug, 2022, 7:29 pm Rinki Prasad, wrote: > Hi team , > Actually i want to implement custom model in Django Like i want that the > user

Re: Help to implement custome user login

2022-08-05 Thread Lakshyaraj Dash
You can have this awesome course by codewithharry: https://youtube.com/playlist?list=PLu0W_9lII9ah7DDtYtflgwMwpT3xmjXY9 On Fri, 5 Aug, 2022, 22:16 Bhoopesh sisoudiya, wrote: > Hey, > > No needs to go in any whatsapp group or wasting time because time is very > important. > This group have

Re: Help to implement custome user login

2022-08-05 Thread Bhoopesh sisoudiya
Hey, No needs to go in any whatsapp group or wasting time because time is very important. This group have sufficient resources for helping each other. If you want master in any framework go on original site and read document carefully if you don't have basic knowledge then purchase a course from

Re: Help to implement custome user login

2022-08-05 Thread Lakshyaraj Dash
Hey you... Instead of helping that guy, you're just creating a monopoly. You want that everyone would ask questions in your group, then why this Google groups has been created by django??? On Fri, Aug 5, 2022, 21:12 Satyajit Barik wrote: > Hey, > > Join in Whatsapp python group to solve your

Re: Help to implement custome user login

2022-08-05 Thread Satyajit Barik
Hey, Join in Whatsapp python group to solve your problem using the below link: https://chat.whatsapp.com/Bq2jcxLJVG50v9Wbkvz6Vy [Membership benefits] Here are some great perks you get for becoming a member: * Ask your python & django related problems: get quick possible answer. * Friendly

Re: Help to implement custome user login

2022-08-05 Thread Lakshyaraj Dash
You can add fields to the default django user model by using the AbstractUser class from django.contrib.auth.models, you can't change the default fields. Rather you'll need to write your custom user model containing OTP and mobile number instead of username or password. On Fri, Aug 5, 2022, 19:29

Help to implement custome user login

2022-08-05 Thread Rinki Prasad
Hi team , Actually i want to implement custom model in Django Like i want that the user should not register.Directly i want that he should login through mobile and otp instead of username and password, and the same data should be store in database so how can i do this with django?Actually i

Re: About Specific User Login

2022-06-17 Thread Sebastian Jung
Hello, Yoz get per query userdata and then wrotes it as further contrext https://vsupalov.com/pass-context-to-django-cbv/ Then you can render this in your template. Abhinandan K schrieb am Fr., 17. Juni 2022, 18:27: > use django icontains > > On Fri, Jun 17, 2022, 9:27 PM Shubham Mendade >

Re: About Specific User Login

2022-06-17 Thread Abhinandan K
use django icontains On Fri, Jun 17, 2022, 9:27 PM Shubham Mendade wrote: > I want to know that how django user module helps me to get the data of > specific user from lots of user to its dashboard after he/she logins > > -- > You received this message because you are subscribed to the Google

About Specific User Login

2022-06-17 Thread Shubham Mendade
I want to know that how django user module helps me to get the data of specific user from lots of user to its dashboard after he/she logins -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: Testing Django User Login Form

2021-04-23 Thread lone...@gmail.com
Thank you for the reply! I will totally try this tonight! On Thursday, April 22, 2021 at 7:31:40 PM UTC-4 David Nugent wrote: > Try creating a request using RequestFactory and use that to input the > credentials. I don't think the way you are creating the form is valid. > > rf =

Re: Testing Django User Login Form

2021-04-22 Thread David Nugent
Try creating a request using RequestFactory and use that to input the credentials. I don't think the way you are creating the form is valid. rf = RequestFactory() request = rf.post('/some_mock_url', dict(username='abc', password='password')) form = AuthenticationForm(request) -- You received

Testing Django User Login Form

2021-04-18 Thread lone...@gmail.com
Hello all, I am not sure what I am doing incorrectly with the below test case information. I am simply trying to test the default authentication form of django 3.1. This test should be a good/True login test. Here is the Test case:- class TestForms(TestCase): def

user login not working anyone please help

2019-12-15 Thread Sai Yuva Teja Gorthy
github repo is https://github.com/Yuvateja01/project.please help -- 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...@googlegroups.com. To

super user login

2019-05-03 Thread Shubham Joshi
I have created the custom user model in Django and created a superuser , in admin panel its not logging in although the right cred is given https://github.com/shubham1507/school -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Add Extra functionality when login as super user login

2018-09-14 Thread Rupam Hazra
Hi, I want to add extra validation on superuser login.Actually i want to modify the login process due to security prospect. Step-1 : give username and password form and send a mail with otp Step-2 : after that a form will open and put that otp to verify then it's going to dashboard page. So,

Re: How can I learn to make a user login?

2017-11-25 Thread Daniel Roseman
I literally just pointed you to the page in the docs that lists the login form and view. -- DR. -- 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

Re: How can I learn to make a user login?

2017-11-25 Thread Tom Tanner
gistration and login forms. Process user registration. Process user login. ''' if request.method=="POST": registration_form= UserCreationForm(request.POST) if registration_form.is_valid(): registration_form.save() username = registration_form.cleaned_data.get("u

Re: How can I learn to make a user login?

2017-11-25 Thread Daniel Roseman
On Saturday, 25 November 2017 19:59:10 UTC, Tom Tanner wrote: > > To put it another way: Is there something like `UserCreationForm`, but for > logging in users? > > On Saturday, November 25, 2017 at 2:20:11 PM UTC-5, Tom Tanner wrote: >> >> I guess what I mean is... >> >> What’s function do I

Re: How can I learn to make a user login?

2017-11-25 Thread Tom Tanner
To put it another way: Is there something like `UserCreationForm`, but for logging in users? On Saturday, November 25, 2017 at 2:20:11 PM UTC-5, Tom Tanner wrote: > > I guess what I mean is... > > What’s function do I need to use that: > A) logs in the user > B) returns an error if there’s a

Re: How can I learn to make a user login?

2017-11-25 Thread Tom Tanner
I guess what I mean is... What’s function do I need to use that: A) logs in the user B) returns an error if there’s a problem logging in? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: How can I learn to make a user login?

2017-11-25 Thread Daniel Roseman
On Saturday, 25 November 2017 18:57:04 UTC, Tom Tanner wrote: > > I've read this tutorial > > > on making a simple user registration form. But what about a form for just > logging in existing

How can I learn to make a user login?

2017-11-25 Thread Tom Tanner
I've read this tutorial on making a simple user registration form. But what about a form for just logging in existing users? I can make a registration form with `views.py` looking like this:

Re: Djnago User login

2017-03-01 Thread Constantine Covtushenko
+1 for CustomAuth Backend solution. In runtime Django checks all set backends in the order so I would suggest to put your backend at the beginning of backend's list. On Thu, Mar 2, 2017 at 12:05 AM, Shawn Milochik wrote: > It takes a little fiddling, but you can log in a

Re: Djnago User login

2017-03-01 Thread Shawn Milochik
It takes a little fiddling, but you can log in a user however you want. https://docs.djangoproject.com/en/1.10/topics/auth/default/#how-to-log-a-user-in In short, you can call django.contrib.auth.login(request, user) and force a login without any authentication if you really wanted to. Given

Re: Djnago User login

2017-03-01 Thread Constantine Covtushenko
Hi Hossein, I am not sure that understood you correctly. Are you asking about the way how to handle two types of authentication? One by user name and password, an other by just username? On Wed, Mar 1, 2017 at 4:05 PM, Hossein Torabi wrote: > is there any method that i

Djnago User login

2017-03-01 Thread Hossein Torabi
is there any method that i have two kind of users that once log in with user name and password and other one login with just with user name? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: Django Multiple User Login

2016-02-11 Thread Avraham Serour
maybe you can create your own session model that is related to multiple users On Thu, Feb 11, 2016 at 5:33 PM, Andreas Kuhne wrote: > You can't? > > Not without logging out the previous user. > > The session itself is used to contain a reference to the current user.

Re: Django Multiple User Login

2016-02-11 Thread Andreas Kuhne
You can't? Not without logging out the previous user. The session itself is used to contain a reference to the current user. You can only have one session to a certain domain (for example www.example.com and app.example.com are 2 different domains). The only way for the other user to login is to

Re: Django Multiple User Login

2016-02-11 Thread jorrit787
I'm just being curious here but in what scenario would you have multiple people logging in at the same time using the same computer/browser? On Thursday, February 11, 2016 at 1:30:21 PM UTC+1, Aakash Tewari wrote: > > Hello > > > Here is new one I guess. > > We have 3 types of users say A, B,

Django Multiple User Login

2016-02-11 Thread Aakash Tewari
Hello Here is new one I guess. We have 3 types of users say A, B, C. All have 3 different login pages on same domain. We have extended User model by OneToOne relationship like this class AModel(models.Model): users = models.OneToOneField(User, on_delete=models.CASCADE) is_A =

Re: How to detect (daily) User Login when using cookies?

2015-01-30 Thread Tobias Dacoir
Thanks. Though I do not use a Custom Authentication Backend, it should be possible to inherit from the Default one and just overwrite the get_user Method. I will test it out. On Friday, January 30, 2015 at 3:56:10 PM UTC+1, Tom Evans wrote: > > On Fri, Jan 30, 2015 at 1:50 PM, Collin Anderson

Re: How to detect (daily) User Login when using cookies?

2015-01-30 Thread Tom Evans
On Fri, Jan 30, 2015 at 1:50 PM, Collin Anderson wrote: > Hi, > > If you use a custom authentication backend, you could update it every time > get_user(request) is called. > HTTP is stateless, authentication happens every request, so that gets called on every request,

Re: How to detect (daily) User Login when using cookies?

2015-01-30 Thread Collin Anderson
Hi, If you use a custom authentication backend, you could update it every time get_user(request) is called. Collin On Wednesday, January 28, 2015 at 4:58:30 AM UTC-5, Tobias Dacoir wrote: > > Yes that would be enough. I know in the User Model there is last_login but > that is only updated

Re: How to detect (daily) User Login when using cookies?

2015-01-28 Thread Tobias Dacoir
Yes that would be enough. I know in the User Model there is last_login but that is only updated when the User actually logs in. And the signal from django-allauth is also only send when the user uses the login form. The only other alternative I found was to check in every view I have for

Re: How to detect (daily) User Login when using cookies?

2015-01-27 Thread Collin Anderson
Hi, Would it make sense to simply keep a record of when the last time you've seen the user is? Collin On Friday, January 23, 2015 at 4:43:41 AM UTC-5, Tobias Dacoir wrote: > > I'm using django-allauth and I receive a signal when a user logs in. Now I > want to store each day the user logs in.

How to detect (daily) User Login when using cookies?

2015-01-23 Thread Tobias Dacoir
I'm using django-allauth and I receive a signal when a user logs in. Now I want to store each day the user logs in. However, when the user does not logout he can still log in the next day thanks to the cookies. I know that I can set SESSION_EXPIRE_AT_BROWSER_CLOSE to True in settings.py. But

Re: Django 1.7 User login via Email or Username

2014-10-16 Thread carlos
Hi, you see the full example in docs https://docs.djangoproject.com/en/1.7/topics/auth/customizing/#a-full-example Cheers On Wed, Oct 15, 2014 at 2:52 AM, monoBOT wrote: > You can implement an alternative authentication backend like so: > > *on your settings:* > >

Re: Django 1.7 User login via Email or Username

2014-10-15 Thread monoBOT
You can implement an alternative authentication backend like so: *on your settings:* AUTHENTICATION_BACKENDS = ( 'your_app.backend.EmailBackend', 'django.contrib.auth.backends.ModelBackend' ) *and on "your_app.backends":* #!/usr/bin/env python # -*- coding: utf-8 -*- from

Django 1.7 User login via Email or Username

2014-10-15 Thread Frankline
Hi all, Just started looking at Django 1.7. I've followed the tutorials on https://docs.djangoproject.com/en/1.7/. However, I find myself in a position where I need to login users based on either email or username, AND NOT just the username. I want my users to register using email addresses.

Re: Javascript requests after user login

2014-09-10 Thread Sarfraz Nawaz
Thanks Collin for the tip. I printed out the cookies and can see both csrf and sessionid cookies, turns out the problem was with my qooxdoo code. All fixed now but thanks I was not sure if sessionid is sent out automatically by the browser when within the same domain. On Wednesday, September

Re: Javascript requests after user login

2014-09-09 Thread Javier Guerra Giraldez
On Tue, Sep 9, 2014 at 4:29 PM, Sarfraz Nawaz wrote: > The problem is that I keep getting forbidden 403. Having looked around it > seems that it is because this request does not include the sessionid cookie > which is an http only cookie. have you checked the response

Re: Javascript requests after user login

2014-09-09 Thread Collin Anderson
So the app is issuing a GET (not POST) via ajax on the same domain as the sessionid cookie, and the view is returning a 403 because the user is not logged in? If the app is in the same domain as the cookie, the the ajax request will include the cookie, even if it's a http-only (non-javascript)

Javascript requests after user login

2014-09-09 Thread Sarfraz Nawaz
Hello everyone, Django newbie here, so please forgive me if this has been asked before but I haven't been able to find it. I am using django-registration with Django 1.6 and I can register a user, log a user in and out fine using /accounts/login and /accounts/logout urls. After the user logs

Re: Simple User login not working.

2014-03-20 Thread C. Kirby
If you are using stock User accounts why are you writing a login view? Just use django.contrib.auth.views.login You can pass it your own template in the url definition url(r'^login/$', 'django.contrib.auth.views.login', {'template_name': 'login.html'}, name='login' ) On Wednesday, March

Re: Simple User login not working.

2014-03-20 Thread Venkatraman S
I cannot see the screenshot, but two things: 1. Why GET? :-/ 2. Did you check if the users are 'active'? i.e, active flag set? -Venkat On Thu, Mar 20, 2014 at 1:51 AM, Don Fox wrote: > My project has two superusers who have access to the Django Administration > and who

Simple User login not working.

2014-03-19 Thread Don Fox
My project has two superusers who have access to the Django Administration and who manually add about 15 Users who should then be able to login and use the site to do data entry. I'm using the standard code in my views *def auth_view(request):* *username = request.POST.get('username','

Different user login after session was closed redirects to previous user last page

2013-12-12 Thread Ricardo Tubio-Pardavila
<http://stackoverflow.com/questions/20550170/redirect-to-previous-user-last-page-after-new-user-login#> I am currently developing a Django website and I am using django.contrib.auth and django-security-session for closing user sessions automatically. In case a user leaves its s

Re: example for project with user login

2013-09-27 Thread Joachim Wuttke
Many thanks, Rafael and Jesús. I will study your suggestions carefully. - Joachim -- 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

Re: example for project with user login

2013-09-27 Thread Jesús Lucas Flores
context_instance=RequestContext(Request)) > > > > > I think that something like that will work, its copy of a small project > mine in django 1.3.1, its admin somewher ther but you can eliminate. (in > www.fsorgosuardi.com.ar/dj/login its this code running...

Re: example for project with user login

2013-09-27 Thread Rafael E. Ferrero
jango-allauth>app... its really cool stuff 2013/9/27 Joachim Wuttke <j1wut...@gmail.com> > With user login to the user views. > I would like to build my application by incrementally modifying a working > small application > that is just a little more complete than the

Re: example for project with user login

2013-09-27 Thread Joachim Wuttke
With user login to the user views. I would like to build my application by incrementally modifying a working small application that is just a little more complete than the poll application from the basic tutorial. -- You received this message because you are subscribed to the Google Groups

Re: example for project with user login

2013-09-27 Thread Rafael E. Ferrero
to your visitors to login with facebook id, or twitter, etc) hope to help you on this 2013/9/27 Joachim Wuttke <j1wut...@gmail.com> > Could you kindly point me to a code example for a Django project with user > login? > - Joachim > > -- > You received this message be

example for project with user login

2013-09-27 Thread Joachim Wuttke
Could you kindly point me to a code example for a Django project with user login? - Joachim -- 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 dj

Re: [SPAM] Implementing User login expiration

2013-07-04 Thread Dave Koo
Great solution Sam! On Tuesday, April 9, 2013 11:30:41 AM UTC-7, Sam Solomon wrote: > > Depending on if the expiration is a temporary thing or if you actually > want to permanently deactivate the user, this may be even simpler and > database efficient (and is what we use to ban users): > >

Re: [SPAM] Implementing User login expiration

2013-04-09 Thread Sam Solomon
Depending on if the expiration is a temporary thing or if you actually want to permanently deactivate the user, this may be even simpler and database efficient (and is what we use to ban users): class DeactivateUserMiddleware(object): def process_request(self, request): if

Re: [SPAM] Implementing User login expiration

2013-04-08 Thread John DeRosa
On Apr 5, 2013, at 5:33 PM, Nikolas Stevenson-Molnar wrote: > How about creating request middleware to sign out deactivated users? > Something like: > > if request.user.profile.expired: >logout(request) > > If you're concerned about the extra database hit per

Re: Implementing User login expiration

2013-04-08 Thread Tom Evans
On Sat, Apr 6, 2013 at 12:24 AM, John DeRosa wrote: > I have a Profile table that's 1:1 with the User table. Each Profile row has > an account_expiration field. > > I want to invalidate users when their accounts expire. By "invalidate", I > mean: They can't log in,

Re: Implementing User login expiration

2013-04-05 Thread Nikolas Stevenson-Molnar
How about creating request middleware to sign out deactivated users? Something like: if request.user.profile.expired: logout(request) If you're concerned about the extra database hit per request, then maybe cache the expiration? expire_date = cache.get("%d_expire" % request.user.id) if not

Implementing User login expiration

2013-04-05 Thread John DeRosa
I have a Profile table that's 1:1 with the User table. Each Profile row has an account_expiration field. I want to invalidate users when their accounts expire. By "invalidate", I mean: They can't log in, and they can't use the system any more. The closer I look, the more complicated it seems.

Re: Can I set a "global" variable after user login, to use in my view?

2013-01-31 Thread Tom Evans
On Tue, Jan 22, 2013 at 8:01 PM, Fellipe Henrique wrote: > The problem is, I need to pass this request.user to one form, using a > inlineformset_factory..in these code: > > class PedidoItensForm(ModelForm): > class Meta: > model = ItensPedido > > def

Re: Can I set a "global" variable after user login, to use in my view?

2013-01-23 Thread Tomas Neme
> I don`t understand that.. in my form, I don't have the request, or I have? > > I know I have request in my view, but I need to pass UserProfile to my form, > but inlineformset_factory doesn't accept to pass vUserProfile as parameter, > even I modified __init__ to get this parameter. OK, so

Re: Can I set a "global" variable after user login, to use in my view?

2013-01-23 Thread Fellipe Henrique
I don`t understand that.. in my form, I don't have the request, or I have? I know I have request in my view, but I need to pass UserProfile to my form, but inlineformset_factory doesn't accept to pass vUserProfile as parameter, even I modified __init__ to get this parameter. Here is my form

Re: Can I set a "global" variable after user login, to use in my view?

2013-01-22 Thread Tomas Neme
vUserProfile=request.user.profile or vUserProfile=request.user.get_profile() to be more flexible On Tue, Jan 22, 2013 at 5:01 PM, Fellipe Henrique wrote: > The problem is, I need to pass this request.user to one form, using a > inlineformset_factory..in these code: > >

Re: Can I set a "global" variable after user login, to use in my view?

2013-01-22 Thread Fellipe Henrique
The problem is, I need to pass this request.user to one form, using a inlineformset_factory..in these code: class PedidoItensForm(ModelForm): class Meta: model = ItensPedido def __init__(self, *args, **kwargs): profile = kwargs.pop('vUserProfile', None)

Re: Can I set a "global" variable after user login, to use in my view?

2013-01-22 Thread Tomas Neme
what mengu says is good for templates, but not so for views. But lo! your request should have a .user property that points to the currently logged user, so try request.user in your view On Tue, Jan 22, 2013 at 4:49 PM, Mengu wrote: > hi fellipe, > > if you enable auth

Re: Can I set a "global" variable after user login, to use in my view?

2013-01-22 Thread Mengu
hi fellipe, if you enable auth context processors and pass in RequestContext to render_to_response you can always access the user in your templates which also means you can access the associated profile as user.profile (assuming your model is named profile) please read more at

Can I set a "global" variable after user login, to use in my view?

2013-01-22 Thread Fellipe Henrique
Hello, It's possible, when the user make a login, I set one "global" variable, and get this value in my view? My question is because I have a inlineformset_factory, and I need to pass a user profile do my view.. but it`s doesn't work. Regards, T.·.F.·.A.·. S+F *Fellipe Henrique P. Soares*

Re: New user login problem

2011-09-16 Thread marios
1030 Wien > > > > mailto:patrick.sz...@lexisnexis.at > > > Tel.: 00431 534521573 > > > Fax: +43 (1) 534 52 - 146 > > > > -Ursprüngliche Nachricht- > > > > Von: django-users@googlegroups.com [mailto:django-users@googlegroups.com] > > Im

Re: New user login problem

2011-09-16 Thread Jacco Flenter
is > > Marxergasse 25, 1030 Wien > > > > mailto:patrick.sz...@lexisnexis.at > > Tel.: 00431 534521573 > > Fax: +43 (1) 534 52 - 146 > > > > -Ursprüngliche Nachricht- > > > > Von: django-users@googlegroups.com [mailto:django-users@googlegro

Re: New user login problem

2011-09-16 Thread marios
sprüngliche Nachricht- > > >> Von: django-users@googlegroups.com   > >> [mailto:django-users@googlegroups.com] Im Auftrag von marios > >> Gesendet: Freitag, 16. September 2011 13:14 > >> An: Django users > >> Betreff: New user login problem > >

Re: New user login problem

2011-09-16 Thread Martin Tiršel
ien mailto:patrick.sz...@lexisnexis.at Tel.: 00431 534521573 Fax: +43 (1) 534 52 - 146 -Ursprüngliche Nachricht- Von: django-users@googlegroups.com [mailto:django-users@googlegroups.com] Im Auftrag von marios Gesendet: Freitag, 16. September 2011 13:14 An: Django users Betreff: New us

Re: New user login problem

2011-09-16 Thread marios
3 > Fax: +43 (1) 534 52 - 146 > > -Ursprüngliche Nachricht- > > Von: django-users@googlegroups.com [mailto:django-users@googlegroups.com] Im > Auftrag von marios > Gesendet: Freitag, 16. September 2011 13:14 > An: Django users > Betreff: New user login problem > >

AW: New user login problem

2011-09-16 Thread Szabo, Patrick (LNG-VIE)
.: 00431 534521573 Fax: +43 (1) 534 52 - 146 -Ursprüngliche Nachricht- Von: django-users@googlegroups.com [mailto:django-users@googlegroups.com] Im Auftrag von marios Gesendet: Freitag, 16. September 2011 13:14 An: Django users Betreff: New user login problem I am a new user of Django

New user login problem

2011-09-16 Thread marios
I am a new user of Django with not much experience in programming. I am following the tutorial. In the Administration module I have created a new user with some permissions, but when I try to logging in as this new user appear an error message ("Wrong user or password") Could you help me? -- You

Re: How to use email as user login name

2011-08-29 Thread quasar
Field > > by which I can use email as username. > > > Thank you. > > > On Aug 28, 7:46 pm, Shawn Milochik <sh...@milochik.com> wrote: > > > > On 08/28/2011 03:26 PM, quasar wrote: > > > > > Question is how to use email as user login name, and make use

Re: How to use email as user login name

2011-08-29 Thread Alternativshik
fy  username = models.CharField > to  username = models.EmailField, and then change email to CharField > by which I can use email as username. > > Thank you. > > On Aug 28, 7:46 pm, Shawn Milochik <sh...@milochik.com> wrote: > > > > > > > > > On 08/28/2011 03:26

Re: How to use email as user login name

2011-08-29 Thread quasar
;sh...@milochik.com> wrote: > On 08/28/2011 03:26 PM, quasar wrote: > > > Question is how to use email as user login name, and make user name > > not unique? What's the best way to do that? > > To use e-mail as login, write your own backend (about four lines of > code).

Re: How to use email as user login name

2011-08-29 Thread quasar
, and add one more field for user name? Is this possible? Thank you very much. On Aug 28, 7:46 pm, Shawn Milochik <sh...@milochik.com> wrote: > On 08/28/2011 03:26 PM, quasar wrote: > > > Question is how to use email as user login name, and make user name > > not unique? W

Re: How to use email as user login name

2011-08-29 Thread Alternativshik
Try this https://github.com/Bers/django-simplereg On Aug 28, 11:26 pm, quasar <xinghan@gmail.com> wrote: > Question is how to use email as user login name, and make user name > not unique? What's the best way to do that? -- You received this message because you are subscribed t

Re: How to use email as user login name

2011-08-28 Thread Shawn Milochik
On 08/28/2011 03:26 PM, quasar wrote: Question is how to use email as user login name, and make user name not unique? What's the best way to do that? To use e-mail as login, write your own backend (about four lines of code). You'll be using the 'email' field, not username, because username

How to use email as user login name

2011-08-28 Thread quasar
Question is how to use email as user login name, and make user name not unique? What's the best way to do that? -- 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 u

SSO User Login to Django Admin Page

2011-06-27 Thread thiru
Hi Friends I have a problem in my application, we are implementing oracle single sign on to our existing django application, I managed to implement SSO for the application, but I can able use the same information to login into Django admin. I like to know how to use the SSO login User

Re: New user login problem

2009-11-14 Thread Zeynel
I figured that "active" and "staff" need to be checked as explained here: http://docs.djangoproject.com/en/dev/faq/admin/ Does anybody know how to make admin "view only" for a user? This paragraph from the above appears to explain a similar process: How do I limit admin access so that objects

New user login problem

2009-11-14 Thread Zeynel
Hello, I am creating a new user successfully but I cannot login with that new user. I make sure that username and pw (case sensitive) are correct. Is there more to creating a new user? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: User Login in django

2009-11-04 Thread Julien Petitperrin
On Wed, Nov 4, 2009 at 10:31 AM, Daniel Roseman wrote: > > On Nov 4, 4:26 am, Denis Bahati wrote: > > Am real need to reinvent the wheel because i have a project which needs > to > > define some user roles, and enable users to update the status of their

Re: User Login in django

2009-11-04 Thread Daniel Roseman
On Nov 4, 4:26 am, Denis Bahati wrote: > Am real need to reinvent the wheel because i have a project which needs to > define some user roles, and enable users to update the status of their own > properties and not the other property. Thanks in advance for any help you > give

Re: User Login in django

2009-11-03 Thread Denis Bahati
Am real need to reinvent the wheel because i have a project which needs to define some user roles, and enable users to update the status of their own properties and not the other property. Thanks in advance for any help you give me. On Tue, Nov 3, 2009 at 4:32 PM, bruno desthuilliers <

Re: User Login in django

2009-11-03 Thread bruno desthuilliers
On 3 nov, 13:37, Denis Bahati wrote: > Hi there, > Am creating a login screen using django form but failing to get the concept > on how can i query from the database to get the user verified as a > registered user. Do you have a real need for reinventing the wheel ?

User Login in django

2009-11-03 Thread Denis Bahati
Hi there, Am creating a login screen using django form but failing to get the concept on how can i query from the database to get the user verified as a registered user. I want that a user is validated and displayed with his/her profile as well update his/her profile. The user can view only the

Re: User login

2009-07-18 Thread Joshua Russo
On Sat, Jul 18, 2009 at 8:51 PM, AKK wrote: > > hi, > > i have a form like this: > > >User name: > >Password: > id="password"> > > > > > > > and the next field is where the user should be redirected assuming > they have the correct details.

Re: User login

2009-07-18 Thread Almir Karic
what is wrong with absolute urls? :) python/django hacker & sys admin http://almirkaric.com & http://twitter.com/redduck666 On Sat, Jul 18, 2009 at 2:51 PM, AKK wrote: > > hi, > > i have a form like this: > >   >    User name: >     >    Password: >    

User login

2009-07-18 Thread AKK
hi, i have a form like this: User name: Password: and the next field is where the user should be redirected assuming they have the correct details. When they login i want them to be redirected to myurl.com/blog/ but what i have above redirects them to

What's a good way to have an integrated blog for my django site with the same user login for blog comments?

2008-10-17 Thread MikeN
I want to create an integrated blog for my Django powered site. I want it to be integrated with my site in the following ways: 1) I want to be able to use my base django template to frame the outer portion of all the displayed blog content --> I want to be able to put the entire contents of the

Re: User Login with Django 1.0

2008-09-25 Thread Jeff Anderson
jeffhg58 wrote: > I just recently upgraded to Django 1.0, but when I log in with users > that I have created I get up a popup window > stating syntax error and after I login the clock and calendar objects > are lost. > You'll need to be much more specific. Where are you logging in. What do you

User Login with Django 1.0

2008-09-25 Thread jeffhg58
I just recently upgraded to Django 1.0, but when I log in with users that I have created I get up a popup window stating syntax error and after I login the clock and calendar objects are lost. Has anyone else experienced this issue? Thanks, Jeff

Re: Using an email as the user login

2008-07-17 Thread Marty Alchin
On Thu, Jul 17, 2008 at 12:34 PM, Ayaz Ahmed Khan <[EMAIL PROTECTED]> wrote: > > On Jul 17, 9:04 pm, rootbit <[EMAIL PROTECTED]> wrote: >> >> Hey everyone. >> i would like to change the authentication system, so that usernames >> will be email >> like on facebook. >> >> how should i go about

Re: Using an email as the user login

2008-07-17 Thread Ayaz Ahmed Khan
On Jul 17, 9:04 pm, rootbit <[EMAIL PROTECTED]> wrote: > > Hey everyone. > i would like to change the authentication system, so that usernames > will be email > like on facebook. > > how should i go about doing that? > For the current project I am working on, I had to do the same. I ended up

Using an email as the user login

2008-07-17 Thread rootbit
Hey everyone. i would like to change the authentication system, so that usernames will be email like on facebook. how should i go about doing that? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

  1   2   >