Madhur215 / Django-ChatApp

A chat application built using Django Rest Framework. Users can add other users as friends and have one to one chat.
140 stars 58 forks source link

signup page #3

Open Athirst1998 opened 2 years ago

Athirst1998 commented 2 years ago

hi Madhur

When I tried to run your source, I received several errors for some models crispy_forms and widget_tweaks

And after loading the page and clicking on signup, this error was received

django.template.exceptions.TemplateDoesNotExist: registration/signup.html

I didn't work with Django and unfortunately I couldn't fix the problem. Is it possible to fix the error? Your script is very useful for me, thank you

Artysto commented 2 years ago

Hi @Athirst1998 its not Madhur here, but from what I can see as far as your TemplateDoesNotExist exception is concerned, if you go to the directory "Django-ChatApp/registration/templates/registration" and rename the file SignUp.html to signup.html, you should stop getting that exception.

As for the errors regarding crispy_forms and widget_tweaks, you will have to install two pip packages in your virtual environment you have created.

pip install django-crispy-forms pip install django-widget-tweaks

Let me know, if you encounter other errors too, will be glad to take a look : )