Django 5.1 Documentation
basic logging call Customize logging configuration How to create CSV output Using the Python CSV library Using the template system Other text-based formats How to create PDF files Install ReportLab Write Django calls a special-case 404 view.) This is blazingly fast, because the paths are compiled into regular expressions at load time. Once one of the URL patterns matches, Django calls the given view, which django.utils import timezone, to reference Python’s standard datetime [https://docs.python.org/3/library/datetime.html#module-datetime] module and Django’s time-zone-related utilities in django.utils.timezone0 码力 | 3513 页 | 3.17 MB | 1 年前3Django 5.1.2 Documentation
basic logging call Customize logging configuration How to create CSV output Using the Python CSV library Using the template system Other text-based formats How to create PDF files Install ReportLab Write Django calls a special-case 404 view.) This is blazingly fast, because the paths are compiled into regular expressions at load time. Once one of the URL patterns matches, Django calls the given view, which django.utils import timezone, to reference Python’s standard datetime [https://docs.python.org/3/library/datetime.html#module-datetime] module and Django’s time-zone-related utilities in django.utils.timezone0 码力 | 3519 页 | 3.17 MB | 1 年前3Django 5.0.x Documentation
basic logging call Customize logging configuration How to create CSV output Using the Python CSV library Using the template system Other text-based formats How to create PDF files Install ReportLab Write Django calls a special-case 404 view.) This is blazingly fast, because the paths are compiled into regular expressions at load time. Once one of the URL patterns matches, Django calls the given view, which django.utils import timezone, to reference Python’s standard datetime [https://docs.python.org/3/library/datetime.html#module-datetime] module and Django’s time-zone-related utilities in django.utils.timezone0 码力 | 3407 页 | 3.21 MB | 1 年前3Django 2.2.x Documentation
Install the core Django tables Test and tweak Outputting CSV with Django Using the Python CSV library Using the template system Other text-based formats Outputting PDFs with Django Install ReportLab Django calls a special-case 404 view.) This is blazingly fast, because the paths are compiled into regular expressions at load time. Once one of the URL patterns matches, Django calls the given view, which by installing our new django-polls package. Installing as a user library The following steps install django-polls as a user library. Per-user installs have a lot of advantages over installing the package0 码力 | 2915 页 | 2.83 MB | 1 年前3Django 2.1.x Documentation
Install the core Django tables Test and tweak Outputting CSV with Django Using the Python CSV library Using the template system Other text-based formats Outputting PDFs with Django Install ReportLab Django calls a special-case 404 view.) This is blazingly fast, because the paths are compiled into regular expressions at load time. Once one of the URL patterns matches, Django calls the given view, which by installing our new django-polls package. Installing as a user library The following steps install django-polls as a user library. Per-user installs have a lot of advantages over installing the package0 码力 | 2790 页 | 2.71 MB | 1 年前3Django 4.2.x Documentation
basic logging call Customize logging configuration How to create CSV output Using the Python CSV library Using the template system Other text-based formats How to create PDF files Install ReportLab Write Django calls a special-case 404 view.) This is blazingly fast, because the paths are compiled into regular expressions at load time. Once one of the URL patterns matches, Django calls the given view, which by installing our new django-polls package. Installing as a user library The following steps install django-polls as a user library. Per-user installs have a lot of advantages over installing the package0 码力 | 3305 页 | 3.16 MB | 1 年前3Django 1.11.x Documentation
Install the core Django tables Test and tweak Outputting CSV with Django Using the Python CSV library Using the template system Other text-based formats Outputting PDFs with Django Install ReportLab article_detail), ] The code above maps URLs, as simple regular expressions, to the location of Python callback functions (“views”). The regular expressions use parenthesis to “capture” values from the none of them matches, Django calls a special-case 404 view.) This is blazingly fast, because the regular expressions are compiled at load time. Once one of the regexes matches, Django calls the given view0 码力 | 2747 页 | 2.67 MB | 1 年前3Django 2.1.x Documentation
Django calls a special-case 404 view.) This is blazingly fast, because the paths are compiled into regular expressions at load time. Once one of the URL patterns matches, Django calls the given view, which by installing our new django-polls package. Installing as a user library The following steps install django-polls as a user library. Per-user installs have a lot of advantages over installing the package 2.10.7 Installing Python packages with virtualenv Earlier, we installed the polls app as a user library. This has some disadvantages: • Modifying the user libraries can affect other Python software on0 码力 | 1910 页 | 6.49 MB | 1 年前3Django 1.11.x Documentation
article_detail), ] The code above maps URLs, as simple regular expressions, to the location of Python callback functions (“views”). The regular expressions use parenthesis to “capture” values from the none of them matches, Django calls a special-case 404 view.) This is blazingly fast, because the regular expressions are compiled at load time. Once one of the regexes matches, Django calls the given view url(r'^admin/', admin.site.urls), ] The include() function allows referencing other URLconfs. Note that the regular expressions for the include() function doesn’t have a $ (end-of-string match character) but rather0 码力 | 1878 页 | 6.40 MB | 1 年前3Django 4.1.x Documentation
basic logging call Customize logging configuration How to create CSV output Using the Python CSV library Using the template system Other text-based formats How to create PDF files Install ReportLab Write Django calls a special-case 404 view.) This is blazingly fast, because the paths are compiled into regular expressions at load time. Once one of the URL patterns matches, Django calls the given view, which by installing our new django-polls package. Installing as a user library The following steps install django-polls as a user library. Per-user installs have a lot of advantages over installing the package0 码力 | 3240 页 | 3.13 MB | 1 年前3
共 92 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10