project setting error

2018-12-14 Thread tribhuvan kishor
AUTH_PASSWORD_VALIDATORS = [ ^ SyntaxError: invalid syntax -- 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...@g

Re: project setting error

2018-12-14 Thread Aprimus
AUTH_PASSWORD_VALIDATORS = [] > > > > -- 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 post to this group, send ema

Confusion in user and superuser

2018-12-14 Thread maunish dave
Can anyone help me with the topic that when superuser will be created and when user will be created? When I type in a command prompt "Python manage.py createsuperuser" it creates a superuser But when I used Usercreationform to create user it is creating normal user so how to create superuser usin

Re: How to create two different login system

2018-12-14 Thread maunish dave
What if a normal user creates an account for manager instead of creating account for manager how to stop a normal user from creating a manager account? On Fri 14 Dec, 2018, 12:50 PM Manjunath, wrote: > There are multiple options to maintain different kind of users in Django. > > When I came acro

Re: function get_form_kwargs() not being called

2018-12-14 Thread Simon A
Just to add, I used a django-crud cookie cutter to generate codes for CRUD On Monday, December 10, 2018 at 8:47:28 PM UTC+8, Simon A wrote: > > I'm trying to pass a parameter from a redirect to the CreateView and to > the form. > > I have no problem retrieving the value from the redirect to the

Re: Google Plus going away - is Groups staying ?

2018-12-14 Thread Jason
Only the social network is closing, I believe. -- 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 post to this group,

Re: Google Plus going away - is Groups staying ?

2018-12-14 Thread Ari Davidow
Only Google+ is going away. GoogleGroups, including this group, not affected. > On Dec 14, 2018, at 8:13 AM, Jason wrote: > > Only the social network is closing, I believe. > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe

Re: Confusion in user and superuser

2018-12-14 Thread Nelson Varela
Superusers are users with special powers... they can do everything! I don't think you want to add a superuser via a form... If you want a form to create a superuser you should make your own form -- You received this message because you are subscribed to the Google Groups "Django users" group. T

Re: pyhton manage.py migrate not working

2018-12-14 Thread Ryan Nowakowski
It looks like perhaps you specified an integer for cache durations and it's supposed to be a dictionary instead. On December 13, 2018 5:40:08 AM CST, Gilles Zoratti wrote: > > >Dear every one, >i'm new in the Django cms environment, and I need your help ! ( please >:) ) > >When I tried to "inst

Re: function get_form_kwargs() not being called

2018-12-14 Thread Simon A
Oh shoot, I think I know now why this isn't working for me. It is because I'm using vanilla for my views. I'll continue to test. On Friday, December 14, 2018 at 8:34:15 PM UTC+8, Simon A wrote: > > Just to add, I used a django-crud cookie cutter to generate codes for CRUD > > On Monday, Decembe

Re: function get_form_kwargs() not being called

2018-12-14 Thread Simon A
And it really is that. I had to follow the steps required by vanilla migration procedure to make it work like I want it to. On Friday, December 14, 2018 at 11:11:07 PM UTC+8, Simon A wrote: > > Oh shoot, I think I know now why this isn't working for me. > > It is because I'm using vanilla for my

Password reset from address

2018-12-14 Thread Larry Martell
Is there a way to set the from address used in the password reset email? -- 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.co

Re: Password reset from address

2018-12-14 Thread Andréas Kühne
Hi, Check the views for password reset in the django.contrib.auth package. You can add the form_email by creating a class that inherits the PasswordResetView and sets the from_email property on that view. Regards, Andréas Den fre 14 dec. 2018 kl 19:02 skrev Larry Martell : > Is there a way to