1👍
✅
all urls of your app are probably in your main urls.py or apps urls.py files.
Just edit the main urls.py file from:
urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'^myapp/', include('myapp.urls')),
)
to
urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'^', include('myapp.urls')),
)
You will have to handle all the urls in your myapp urls.py then…
Alan
1👍
try from your project folder:
python manage.py runserver
it starts a very simple webserver running on port 8000 so you can see your site visiting
http://localhost:8000
To have more details see django-admin.py and manage.py
- [Answered ]-How to strip(not remove) specified tags from a html string using Python?
- [Answered ]-Updating Custom User Model in Django with Class Based UpdateView
- [Answered ]-Python – Parsing large text file and inserting data into database
- [Answered ]-ValidationError message doesn't appear in my own form
- [Answered ]-Stripe – 'exp_month' parameter should be an integer (instead, is 02 ) in Django View
Source:stackexchange.com