Django 1.8.x DocumentationTutorial 1, it probably means you forgot to set the correct value for the TIME_ZONE setting. Change it, reload the page and check that the correct value appears. Change the “Date published” by clicking the “Today” template tag generates the absolute URL of the static file. That’s all you need to do for development. Reload http://localhost:8000/polls/ and you should see that the question links are green (Django style!) polls/static/polls/style.css body { background: white url("images/background.gif") no-repeat right bottom; } Reload http://localhost:8000/polls/ and you should see the background loaded in the bottom right of the0 码力 | 1685 页 | 6.01 MB | 1 年前3
Django 1.8.x DocumentationTutorial 1, it probably means you forgot to set the correct value for the TIME_ZONE setting. Change it, reload the page and check that the correct value appears. Change the “Date published” by clicking the “Today” template tag generates the absolute URL of the static file. That’s all you need to do for development. Reload http://localhost:8000/polls/ and you should see that the question links are green (Django style!) polls/static/polls/style.css body { background: white url("images/background.gif") no-repeat right bottom; } Reload http://localhost:8000/polls/ and you should see the background loaded in the bottom right of the0 码力 | 2454 页 | 2.85 MB | 1 年前3
Django 2.1.x DocumentationTutorial 1, it probably means you forgot to set the correct value for the TIME_ZONE setting. Change it, reload the page and check that the correct value appears. Change the “Date published” by clicking the “Today” development. Start the server (or restart it if it’s already running): $ python manage.py runserver Reload http://localhost:8000/polls/ and you should see that the question links are green (Django style!) polls/static/polls/style.css body { background: white url("images/background.gif") no-repeat; } Reload http://localhost:8000/polls/ and you should see the background loaded in the top left of the screen0 码力 | 1910 页 | 6.49 MB | 1 年前3
Django 1.11.x DocumentationTutorial 1, it probably means you forgot to set the correct value for the TIME_ZONE setting. Change it, reload the page and check that the correct value appears. Change the “Date published” by clicking the “Today” template tag generates the absolute URL of static files. That’s all you need to do for development. Reload http://localhost:8000/polls/ and you should see that the question links are green (Django style!) polls/static/polls/style.css body { background: white url("images/background.gif") no-repeat right bottom; } Reload http://localhost:8000/polls/ and you should see the background loaded in the bottom right of the0 码力 | 1878 页 | 6.40 MB | 1 年前3
Django 1.10.x DocumentationTutorial 1, it probably means you forgot to set the correct value for the TIME_ZONE setting. Change it, reload the page and check that the correct value appears. Change the “Date published” by clicking the “Today” Django Documentation, Release 1.10.9.dev20171123183751 That’s all you need to do for development. Reload http://localhost:8000/polls/ and you should see that the question links are green (Django style!) polls/static/polls/style.css body { background: white url("images/background.gif") no-repeat right bottom; } Reload http://localhost:8000/polls/ and you should see the background loaded in the bottom right of the0 码力 | 1817 页 | 6.19 MB | 1 年前3
Django 1.11.x DocumentationTutorial 1, it probably means you forgot to set the correct value for the TIME_ZONE setting. Change it, reload the page and check that the correct value appears. Change the “Date published” by clicking the “Today” template tag generates the absolute URL of static files. That’s all you need to do for development. Reload http://localhost:8000/polls/ and you should see that the question links are green (Django style!) polls/static/polls/style.css body { background: white url("images/background.gif") no-repeat right bottom; } Reload http://localhost:8000/polls/ and you should see the background loaded in the bottom right of the0 码力 | 2747 页 | 2.67 MB | 1 年前3
Django 1.10.x DocumentationTutorial 1, it probably means you forgot to set the correct value for the TIME_ZONE setting. Change it, reload the page and check that the correct value appears. Change the “Date published” by clicking the “Today” template tag generates the absolute URL of static files. That’s all you need to do for development. Reload http://localhost:8000/polls/ and you should see that the question links are green (Django style!) polls/static/polls/style.css body { background: white url("images/background.gif") no-repeat right bottom; } Reload http://localhost:8000/polls/ and you should see the background loaded in the bottom right of the0 码力 | 2538 页 | 2.59 MB | 1 年前3
Django 2.1.x DocumentationTutorial 1, it probably means you forgot to set the correct value for the TIME_ZONE setting. Change it, reload the page and check that the correct value appears. Change the “Date published” by clicking the “Today” development. Start the server (or restart it if it’s already running): $ python manage.py runserver Reload http://localhost:8000/polls/ and you should see that the question links are green (Django style!) polls/static/polls/style.css body { background: white url("images/background.gif") no-repeat; } Reload http://localhost:8000/polls/ and you should see the background loaded in the top left of the screen0 码力 | 2790 页 | 2.71 MB | 1 年前3
Django 2.0.x DocumentationTutorial 1, it probably means you forgot to set the correct value for the TIME_ZONE setting. Change it, reload the page and check that the correct value appears. Change the “Date published” by clicking the “Today” template tag generates the absolute URL of static files. That’s all you need to do for development. Reload http://localhost:8000/polls/ and you should see that the question links are green (Django style!) no-repeat; } 52 Chapter 2. Getting started Django Documentation, Release 2.0.14.dev20190701080343 Reload http://localhost:8000/polls/ and you should see the background loaded in the top left of the screen0 码力 | 1880 页 | 6.41 MB | 1 年前3
Django 2.2.x DocumentationTutorial 1, it probably means you forgot to set the correct value for the TIME_ZONE setting. Change it, reload the page and check that the correct value appears. Change the “Date published” by clicking the “Today” development. Start the server (or restart it if it’s already running): $ python manage.py runserver Reload http://localhost:8000/polls/ and you should see that the question links are green (Django style!) polls/static/polls/style.css body { background: white url("images/background.gif") no-repeat; } Reload http://localhost:8000/polls/ and you should see the background loaded in the top left of the screen0 码力 | 2915 页 | 2.83 MB | 1 年前3
共 46 条
- 1
- 2
- 3
- 4
- 5













