Django 2.0.x Documentationbasics Designating the settings Default settings Using settings in Python code Altering settings at runtime Security Available settings Creating your own settings Using settings without setting DJANGO_SETTINGS_MODULE variable available to all my templates? FAQ: Getting Help How do I do X? Why doesn’t Y work? Where can I go to get help? Why hasn’t my message appeared on django-users? Nobody on django-users answered my question into the URLconf. Lets verify it’s working, run the following command: $ python manage.py runserver Go to http://localhost:8000/polls/ in your browser, and you should see the text “Hello, world. You’re0 码力 | 2746 页 | 2.67 MB | 1 年前3
Django 1.11.x Documentationbasics Designating the settings Default settings Using settings in Python code Altering settings at runtime Security Available settings Creating your own settings Using settings without setting DJANGO_SETTINGS_MODULE variable available to all my templates? FAQ: Getting Help How do I do X? Why doesn’t Y work? Where can I go to get help? Why hasn’t my message appeared on django-users? Nobody on django-users answered my question into the URLconf. Lets verify it’s working, run the following command: $ python manage.py runserver Go to http://localhost:8000/polls/ in your browser, and you should see the text “Hello, world. You’re0 码力 | 2747 页 | 2.67 MB | 1 年前3
Django 2.1.x Documentationbasics Designating the settings Default settings Using settings in Python code Altering settings at runtime Security Available settings Creating your own settings Using settings without setting DJANGO_SETTINGS_MODULE variable available to all my templates? FAQ: Getting Help How do I do X? Why doesn’t Y work? Where can I go to get help? Why hasn’t my message appeared on django-users? Nobody on django-users answered my question into the URLconf. Lets verify it’s working, run the following command: $ python manage.py runserver Go to http://localhost:8000/polls/ in your browser, and you should see the text “Hello, world. You’re0 码力 | 2790 页 | 2.71 MB | 1 年前3
Django 2.2.x Documentationbasics Designating the settings Default settings Using settings in Python code Altering settings at runtime Security Available settings Creating your own settings Using settings without setting DJANGO_SETTINGS_MODULE variable available to all my templates? FAQ: Getting Help How do I do X? Why doesn’t Y work? Where can I go to get help? Why hasn’t my message appeared on django-users? Nobody on django-users answered my question view into the URLconf. Verify it’s working with the following command: $ python manage.py runserver Go to http://localhost:8000/polls/ in your browser, and you should see the text “Hello, world. You’re0 码力 | 2915 页 | 2.83 MB | 1 年前3
Django 2.0.x Documentationinto the URLconf. Lets verify it’s working, run the following command: $ python manage.py runserver Go to http://localhost:8000/polls/ in your browser, and you should see the text “Hello, world. You’re server is not running start it like so: $ python manage.py runserver Now, open a Web browser and go to “/admin/” on your local domain – e.g., http://127.0.0.1:8000/admin/. You should see the admin’s {% url %} template tag? The answer is to add namespaces to your URLconf. In the polls/urls.py file, go ahead and add an app_name to set the application namespace: polls/urls.py from django.urls import0 码力 | 1880 页 | 6.41 MB | 1 年前3
Django 1.11.x Documentationinto the URLconf. Lets verify it’s working, run the following command: $ python manage.py runserver Go to http://localhost:8000/polls/ in your browser, and you should see the text “Hello, world. You’re server is not running start it like so: $ python manage.py runserver Now, open a Web browser and go to “/admin/” on your local domain – e.g., http://127.0.0.1:8000/admin/. You should see the admin’s {% url %} template tag? The answer is to add namespaces to your URLconf. In the polls/urls.py file, go ahead and add an app_name to set the application namespace: polls/urls.py from django.conf.urls import0 码力 | 1878 页 | 6.40 MB | 1 年前3
Django 2.1.x Documentationinto the URLconf. Lets verify it’s working, run the following command: $ python manage.py runserver Go to http://localhost:8000/polls/ in your browser, and you should see the text “Hello, world. You’re app, part 2 27 Django Documentation, Release 2.1.16.dev20191202082911 Now, open a Web browser and go to “/admin/” on your local domain – e.g., http://127.0.0.1:8000/admin/. You should see the admin’s {% url %} template tag? The answer is to add namespaces to your URLconf. In the polls/urls.py file, go ahead and add an app_name to set the application namespace: Listing 26: polls/urls.py from django0 码力 | 1910 页 | 6.49 MB | 1 年前3
Django 4.1.x Documentationbasics Designating the settings Default settings Using settings in Python code Altering settings at runtime Security Available settings Creating your own settings Using settings without setting DJANGO_SETTINGS_MODULE variable available to all my templates? FAQ: Getting Help How do I do X? Why doesn’t Y work? Where can I go to get help? Why hasn’t my message appeared on django-users? Nobody answered my question! What should view into the URLconf. Verify it’s working with the following command: $ python manage.py runserver Go to http://localhost:8000/polls/ in your browser, and you should see the text “Hello, world. You’re0 码力 | 3240 页 | 3.13 MB | 1 年前3
Django 4.2.x Documentationbasics Designating the settings Default settings Using settings in Python code Altering settings at runtime Security Available settings Creating your own settings Using settings without setting DJANGO_SETTINGS_MODULE variable available to all my templates? FAQ: Getting Help How do I do X? Why doesn’t Y work? Where can I go to get help? Why hasn’t my message appeared on django-users? Nobody answered my question! What should view into the URLconf. Verify it’s working with the following command: $ python manage.py runserver Go to http://localhost:8000/polls/ in your browser, and you should see the text “Hello, world. You’re0 码力 | 3305 页 | 3.16 MB | 1 年前3
Django 4.0.x Documentationbasics Designating the settings Default settings Using settings in Python code Altering settings at runtime Security Available settings Creating your own settings Using settings without setting DJANGO_SETTINGS_MODULE variable available to all my templates? FAQ: Getting Help How do I do X? Why doesn’t Y work? Where can I go to get help? Why hasn’t my message appeared on django-users? Nobody answered my question! What should view into the URLconf. Verify it’s working with the following command: $ python manage.py runserver Go to http://localhost:8000/polls/ in your browser, and you should see the text “Hello, world. You’re0 码力 | 3184 页 | 3.14 MB | 1 年前3
共 53 条
- 1
- 2
- 3
- 4
- 5
- 6













