2👍
✅
Try to clear your browser cache completely, it should work.
See that related question.
0👍
If both projects use the same dependencies and are in the same directory structure, you need to import your old_project
urls into new_project/url.py
file and add the old urls into urlpatterns
list.
If they have different dependencies, then everything is in your deployment configuration. Web server should be configured to run one or another project depending on what url the client ask for. How to do it changes a lot depending on your infrastructure, web server, etc. so you would need to be more specific.
- [Answered ]-Django Rest Framework: How to get value of the ForeignKey
- [Answered ]-Django: Update object from view, with no model or template
- [Answered ]-Django: what is the difference between redirect to a view function and redirect to a url (from urls.py file)
Source:stackexchange.com