Django 1.11.x Documentation
Django Verifying That’s it! Writing your first Django app, part 1 Creating a project The development server Creating the Polls app Write your first view Writing your first Django app, part 2 Database setup by the users who created them? My admin-site CSS and images showed up fine using the development server, but they’re not displaying when using mod_wsgi. My “list_filter” contains a ManyToManyField, but putting code under the Web server’s document root (in a place such as /var/www). With Django, you don’t do that. It’s not a good idea to put any of this Python code within your Web server’s document root, because0 码力 | 2747 页 | 2.67 MB | 1 年前3Django 1.8.x Documentation
with the API Writing your first Django app, part 2 Creating an admin user Start the development server Enter the admin site Make the poll app modifiable in the admin Explore the free admin functionality by the users who created them? My admin-site CSS and images showed up fine using the development server, but they’re not displaying when using mod_wsgi. My “list_filter” contains a ManyToManyField, but putting code under the Web server’s document root (in a place such as /var/www). With Django, you don’t do that. It’s not a good idea to put any of this Python code within your Web server’s document root, because0 码力 | 2454 页 | 2.85 MB | 1 年前3Django 2.0.x Documentation
Django Verifying That’s it! Writing your first Django app, part 1 Creating a project The development server Creating the Polls app Write your first view Writing your first Django app, part 2 Database setup by the users who created them? My admin-site CSS and images showed up fine using the development server, but they’re not displaying when using mod_wsgi. My “list_filter” contains a ManyToManyField, but putting code under the Web server’s document root (in a place such as /var/www). With Django, you don’t do that. It’s not a good idea to put any of this Python code within your Web server’s document root, because0 码力 | 2746 页 | 2.67 MB | 1 年前3Django 1.11.x Documentation
putting code under the Web server’s document root (in a place such as /var/www). With Django, you don’t do that. It’s not a good idea to put any of this Python code within your Web server’s document root, because servers to serve your project. See How to deploy with WSGI for more details. 2.3.2 The development server Let’s verify your Django project works. Change into the outer mysite directory, if you haven’t already 15:50:53 Django version 1.11, using settings 'mysite.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CONTROL-C. Note: Ignore the warning about unapplied database migrations0 码力 | 1878 页 | 6.40 MB | 1 年前3Django 2.2.x Documentation
Django Verifying That’s it! Writing your first Django app, part 1 Creating a project The development server Creating the Polls app Write your first view Writing your first Django app, part 2 Database setup by the users who created them? My admin-site CSS and images showed up fine using the development server, but they’re not displaying when using mod_wsgi. My “list_filter” contains a ManyToManyField, but putting code under the Web server’s document root (in a place such as /var/www). With Django, you don’t do that. It’s not a good idea to put any of this Python code within your Web server’s document root, because0 码力 | 2915 页 | 2.83 MB | 1 年前3Django 1.8.x Documentation
putting code under the Web server’s document root (in a place such as /var/www). With Django, you don’t do that. It’s not a good idea to put any of this Python code within your Web server’s document root, because migrate. The migrate command will only run migrations for apps in INSTALLED_APPS. The development server Let’s verify your Django project works. Change into the outer mysite directory, if you haven’t already 15:50:53 Django version 1.8, using settings 'mysite.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CONTROL-C. 16 Chapter 2. Getting started Django Documentation, Release0 码力 | 1685 页 | 6.01 MB | 1 年前3Django 2.1.x Documentation
Django Verifying That’s it! Writing your first Django app, part 1 Creating a project The development server Creating the Polls app Write your first view Writing your first Django app, part 2 Database setup by the users who created them? My admin-site CSS and images showed up fine using the development server, but they’re not displaying when using mod_wsgi. My “list_filter” contains a ManyToManyField, but putting code under the Web server’s document root (in a place such as /var/www). With Django, you don’t do that. It’s not a good idea to put any of this Python code within your Web server’s document root, because0 码力 | 2790 页 | 2.71 MB | 1 年前3Django 2.0.x Documentation
putting code under the Web server’s document root (in a place such as /var/www). With Django, you don’t do that. It’s not a good idea to put any of this Python code within your Web server’s document root, because servers to serve your project. See How to deploy with WSGI for more details. 2.3.2 The development server Let’s verify your Django project works. Change into the outer mysite directory, if you haven’t already 15:50:53 Django version 2.0, using settings 'mysite.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CONTROL-C. Note: Ignore the warning about unapplied database migrations0 码力 | 1880 页 | 6.41 MB | 1 年前3Django 2.1.x Documentation
putting code under the Web server’s document root (in a place such as /var/www). With Django, you don’t do that. It’s not a good idea to put any of this Python code within your Web server’s document root, because servers to serve your project. See How to deploy with WSGI for more details. 2.3.2 The development server Let’s verify your Django project works. Change into the outer mysite directory, if you haven’t already 15:50:53 Django version 2.1, using settings 'mysite.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CONTROL-C. Note: Ignore the warning about unapplied database migrations0 码力 | 1910 页 | 6.49 MB | 1 年前3Django 4.2.x Documentation
Django Verifying That’s it! Writing your first Django app, part 1 Creating a project The development server Creating the Polls app Write your first view Writing your first Django app, part 2 Database setup by the users who created them? My admin-site CSS and images showed up fine using the development server, but they’re not displaying when using mod_wsgi. My “list_filter” contains a ManyToManyField, but putting code under the web server’s document root (in a place such as /var/www). With Django, you don’t do that. It’s not a good idea to put any of this Python code within your web server’s document root, because0 码力 | 3305 页 | 3.16 MB | 1 年前3
共 93 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10