Django 5.1 DocumentationDjango 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 web servers to serve your project. See How to deploy with WSGI for more details. The development server Let’s verify your Django project works. Change into the outer mysite directory, if you haven’t already0 码力 | 3513 页 | 3.17 MB | 1 年前3
Django 5.1.2 DocumentationDjango 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 web servers to serve your project. See How to deploy with WSGI for more details. The development server Let’s verify your Django project works. Change into the outer mysite directory, if you haven’t already0 码力 | 3519 页 | 3.17 MB | 1 年前3
Django 5.0.x DocumentationDjango 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 码力 | 3407 页 | 3.21 MB | 1 年前3
Django 4.2.x DocumentationDjango 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
Django 4.1.x DocumentationDjango 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 码力 | 3240 页 | 3.13 MB | 1 年前3
Django 4.0.x DocumentationDjango 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 码力 | 3184 页 | 3.14 MB | 1 年前3
Django 4.0.x Documentationputting 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 4.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 码力 | 2248 页 | 7.90 MB | 1 年前3
Django 5.1.2 Documentationservers 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 Django version 5.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 migrations the server’s running, visit http://127.0.0.1:8000/ with your web browser. You’ll see a “Congrat- ulations!”page, with a rocket taking off. It worked! You’ve started the Django development server, a lightweight0 码力 | 2923 页 | 9.62 MB | 1 年前3
Django 5.1 Documentationservers 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 Django version 5.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 migrations the server’s running, visit http://127.0.0.1:8000/ with your web browser. You’ll see a “Congrat- ulations!”page, with a rocket taking off. It worked! You’ve started the Django development server, a lightweight0 码力 | 2917 页 | 9.59 MB | 1 年前3
Django 5.0.x Documentationplain old PHP (with no use of modern frameworks), you’re probably used to putting code under the web server’s document root (in a place such as /var/www). With Django, you don’t do that. 16 Chapter 2. Getting Release 5.0.2.dev20240126115907 It’s not a good idea to put any of this Python code within your web server’s document root, because it risks the possibility that people may be able to view your code over Django app, part 1 17 Django Documentation, Release 5.0.2.dev20240126115907 2.3.2 The development server Let’s verify your Django project works. Change into the outer mysite directory, if you haven’t already0 码力 | 2878 页 | 9.60 MB | 1 年前3
共 93 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10













