File tree Expand file tree Collapse file tree
server/renderer/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ account. Go and sign up if you don't already have one then come back here.
1616
1717
1818
19- .. image:: http://www.pythonanywhere.com/static/anywhere/images/favicon.ico
19+
2020
2121
2222
@@ -192,6 +192,16 @@ serving a page that tells you the time.
192192The gruesome details for beginners
193193=================================================================================
194194
195+ The main web tab at Python Anywhere looks like this:
196+
197+ .. image:: http://www.pythonanywhere.com/static/anywhere/images/tutorial/django/pa_web_dashboard.jpg
198+
199+ To edit your wsgi.py file you click the link with that name. Every time you
200+ make a change to the files on the Python Anywhere servers you need to click the
201+ "Reload web app" button. This reloads the web server so that it notices the
202+ changes you have made.
203+
204+
195205
196206Starting a new django project
197207---------------------------------------------------------------------------------
Original file line number Diff line number Diff line change 99 < link rel ="icon " href ="http://www.pythonanywhere.com/static/anywhere/images/favicon.ico " type ="image/x-icon ">
1010 < link rel ="shortcut icon " href ="http://www.pythonanywhere.com/static/anywhere/images/favicon.ico " type ="image/x-icon ">
1111
12+ < style type ="text/css ">
13+ img {border : 1px ; color : grey; align : center;}
14+ </ style >
15+
1216 < script type ="text/javascript ">
1317 parent . setHash ( { { pagenum } } ) ;
1418
2832
2933 </ head >
3034
31- < body >
35+ < body style ="margin:50px 0px; padding:0px; text-align:center; ">
36+ < div style ="width:900px; margin:0px auto; text-align:left; ">
37+
3238 {% autoescape off %}
3339 < h1 id ="id_tutorial_title "> {{ title }}</ h1 >
3440
3541 {{ body }}
3642 {% endautoescape %}
43+ </ div >
3744 </ body >
3845</ html >
3946
You can’t perform that action at this time.
0 commit comments