Can u plz tell what you have done so we can learn also.
On Thu, 22 Aug, 2019, 11:16 AM RONAK JAIN, wrote:
> Thank you so much all of you for your kind of help.
>
>
> I have done this Task.
>
>
> Thanks
>
>
>
>
>
> On Thu, Aug 22, 2019 at 10:21 AM Sipum wrote:
>
>> Hey Ronak,
>>
>> At first u
Thank you so much all of you for your kind of help.
I have done this Task.
Thanks
On Thu, Aug 22, 2019 at 10:21 AM Sipum wrote:
> Hey Ronak,
>
> At first u did wrong in import.
>
> Do as below and compare what u have done.
>
> From django.contrib.auth.models import User
> From
Hey Ronak,
At first u did wrong in import.
Do as below and compare what u have done.
>From django.contrib.auth.models import User
>From django.contrib import auth
Then when u are creating user do as-
user = User.objects.create_user(uanme,pwd,email)
THEN for login after sign up use as below -
in register method
add user.set_password = request.POST.get('password') before user.save()
On Wed, Aug 21, 2019 at 10:56 PM 'Amitesh Sahay' via Django users <
django-users@googlegroups.com> wrote:
> I guess you have forgotten to mention the APP name under which the pages
> are created. Please
I guess you have forgotten to mention the APP name under which the pages are
created. Please cross-verify on my observation .
Regards,
Amitesh Sahay91-750 797 8619
On Wednesday, 21 August, 2019, 12:35:28 pm IST, RONAK JAIN
wrote:
Hey I tried but still getting like that...
Attached
Using httpRedirect to d view 4 the URL u want user to b redirected to
On Aug 21, 2019 06:21, "RONAK JAIN" wrote:
> I am trying to redirect my registration page but, I am not getting *please
> check my attached screenshot* and please let me know where I am doing
> wrong...
>
>
>
> On Tue, Aug
Hey Ronit,
It is very simple.
Just do return redirect ('/name used in url')
If ur url for home page be like, path('home', views.index, name='home')
Then u hv to write as redirect('/home').
On Tue, 20 Aug, 2019, 9:43 AM Ronit Mishra,
wrote:
> Hi,
>
> If I've understood your issue correctly,
Hi,
If I've understood your issue correctly, you probably just need to add this
lil' snippet in your settings.py
LOGIN_REDIRECT_URL = '/' (or wherever you wanna redirect after login)
Let me know if it works out for you!
Regards,
Ronnie
On Tue, Aug 20, 2019 at 2:40 AM Smovie Makers Club
return redirect('{{ request.scheme }}://{{ request.get_host }}')
This will redirect to home page
On Mon, 19 Aug 2019, 3:52 pm RONAK JAIN, wrote:
> Hello Django developers,
>
> I am trying to redirect my registration page on the home page but, I am
> not getting when I am trying with a
Ok, I will check.
Le lun. 19 août 2019 à 10:21, RONAK JAIN a écrit :
> Hello Django developers,
>
> I am trying to redirect my registration page on the home page but, I am
> not getting when I am trying with a registration page it will work for
> registration but when I am doing with the home
10 matches
Mail list logo