Hi everyone. The problem I came across is that the url routing is correct locally but not on the server. The urls.py and views.py are the same locally and on the server.
For example after we enter the website link the first page of the website should be directed to *xxx.com/consent_form*, which has been made clear in function *consent_form* in the *views.py *under the corresponding app folder *app_name**. * When we test locally after we enter 127.0.0.1:8000/ the page is directed correctly to 127.0.0.1:8000/consent_form. But when we deploy on the server and test by entering xxx.com the first page of the website is* xxx.com/app_name.views.consent_form*. Anyone know what the problem might be? We are using nginx+daphne+django to deploy the website. -- 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 email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b78b6967-50d9-4080-ac23-8068ae9c91cc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.