File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ python -m pip install channels
1111
1212or
1313
14- pip install channels
14+ ` pip install channels `
1515
1616
1717to run the server you must enter
1818
19- python manage.py runserver
19+ ` python manage.py runserver `
2020
2121after the run
2222
23- the URL : http://localhost:8000/chat/index should direct you to the chat page
23+ the URL : http://localhost:8000 should direct you to the chat page
2424
Original file line number Diff line number Diff line change 55
66urlpatterns = {
77 url (r'^admin/' , admin .site .urls ),
8- url (r'^chat/ ' , include ('chat.urls' , namespace = 'chat' ))
8+ url (r'^' , include ('chat.urls' , namespace = 'chat' ))
99}
1010
Original file line number Diff line number Diff line change 88
99
1010urlpatterns = [
11- url (r'^index$ ' , home ),
11+ url (r'^' , home ),
1212 url (r'^email$' , MailMeView .as_view (), name = 'mailme' )
1313]
1414urlpatterns += staticfiles_urlpatterns ()
You can’t perform that action at this time.
0 commit comments