On 20/11/2017 6:40 PM, Mike Dewhirst wrote:
I have seen the two tickets and read the developer list thread[1]on
this subject. Is there a best-practice approach to preventing
usernames which are case-insensitively equivalent
I'm hoping someone has achieved this and might be willing to share.
I changed a few things.
`models.py` now has this:
class MyUser(AbstractBaseUser):
email= models.CharField(max_length=254, unique=True)
USERNAME_FIELD= "email"
`forms.py`"
class RegisterForm(UserCreationForm):
email= forms.EmailField(label=_("Email"), max_length=254)
Hello Amitesh,
When you say to return HttpReponse(), how would that code look? And I'm
still learning Django, but how would this make it so that the only required
fields on my registration form are "email" and "password?"
Thanks.
On Sunday, November 19, 2017 at 11:30:51 PM UTC-5, Amitesh Sahay
As far as I know, context is always built through key, value pair. But check
for it before coming to any conclusion
Hello,
Regards,Amitesh Sahay
primary :: 91-907 529 6235
On Monday 20 November 2017, 6:08:00 PM IST, pallavi pund
wrote:
This helped me too . thank you
On Sunday, A
Try python manage.py createsuperuser. Follow the instructions, then try login
in again
Yingi Kem
> On 20 Nov 2017, at 1:51 PM, Christian Ahidjo wrote:
>
> Hi,
> I started working on an existing django project and for a reason I ignore if
> I try to log in /admin the page does nothing. There i
Python manage.py createsuperuser
On Nov 20, 2017 8:15 PM, "Christian Ahidjo" wrote:
> Hi,
> I started working on an existing django project and for a reason I ignore
> if I try to log in /admin the page does nothing. There is no error message
> about wrong credentials. Only error message I get i
Hi,
I started working on an existing django project and for a reason I ignore
if I try to log in /admin the page does nothing. There is no error message
about wrong credentials. Only error message I get is when the input fields
are empty. What is the way on Django to create a new user? What cou
This helped me too . thank you
On Sunday, April 30, 2017 at 4:15:32 AM UTC+5:30, Tim Graham wrote:
>
> It looks like the tutorial you're following hasn't been updated for Django
> 1.11.
>
> Line 20 should pass a dict rather than Context:
>
> t.render({'current_date': now})
>
> It's related to thi
8 matches
Mail list logo