Jinja2 Documentation Release 2.10bytestrings that only consist of ASCII characters. Addition- ally newlines are normalized to one end of line sequence which is per default UNIX style (\n). Python 2.x supports two ways of representing string ASCII identifier. To set a better module encoding add the following comment to the first or second line of the Python module using the Unicode literal: # -*- coding: utf-8 -*- 8 We recommend utf-8 as of a comment. De- faults to '#}'. line_statement_prefix If given and a string, this will be used as prefix for line based statements. See also Line Statements. line_comment_prefix If given and a string0 码力 | 148 页 | 475.08 KB | 1 年前3
Django 3.0.x DocumentationCASCADE) def __str__(self): return self.headline Install it Next, run the Django command-line utilities to create the database tables automatically: $ python manage.py makemigrations $ python database configuration, Django-specific options and application-specific settings. From the command line, cd into a directory where you’d like to store your code, then run the following command: $ django-admin Its name doesn’t matter to Django; you can rename it to anything you like. manage.py: A command-line utility that lets you interact with this Django project in various ways. You can read all the details0 码力 | 3085 页 | 2.95 MB | 1 年前3
Django 2.1.x DocumentationCASCADE) def __str__(self): return self.headline 2.1.2 Install it Next, run the Django command-line utility to create the database tables automatically: $ python manage.py migrate The migrate command database configuration, Django-specific options and application-specific settings. From the command line, cd into a directory where you’d like to store your code, then run the following command: $ django-admin Its name doesn’t matter to Django; you can rename it to anything you like. • manage.py: A command-line utility that lets you interact with this Django project in various ways. You can read all the details0 码力 | 1910 页 | 6.49 MB | 1 年前3
Django 2.0.x DocumentationCASCADE) def __str__(self): return self.headline 2.1.2 Install it Next, run the Django command-line utility to create the database tables automatically: $ python manage.py migrate The migrate command database configuration, Django-specific options and application-specific settings. From the command line, cd into a directory where you’d like to store your code, then run the following command: $ django-admin Its name doesn’t matter to Django; you can rename it to anything you like. • manage.py: A command-line utility that lets you interact with this Django project in various ways. You can read all the details0 码力 | 1880 页 | 6.41 MB | 1 年前3
Django 1.11.x Documentation__str__(self): # __unicode__ on Python 2 return self.headline 2.1.2 Install it Next, run the Django command-line utility to create the database tables automatically: $ python manage.py migrate The migrate command database configuration, Django-specific options and application-specific settings. From the command line, cd into a directory where you’d like to store your code, then run the following command: $ django-admin Its name doesn’t matter to Django; you can rename it to anything you like. • manage.py: A command-line utility that lets you interact with this Django project in various ways. You can read all the details0 码力 | 1878 页 | 6.40 MB | 1 年前3
Django 2.2.x DocumentationDjango Documentation, Release 2.2.29.dev20220411083753 2.1.2 Install it Next, run the Django command-line utilities to create the database tables automatically: $ python manage.py makemigrations $ python database configuration, Django-specific options and application-specific settings. From the command line, cd into a directory where you’d like to store your code, then run the following command: $ django-admin Its name doesn’t matter to Django; you can rename it to anything you like. • manage.py: A command-line utility that lets you interact with this Django project in various ways. You can read all the details0 码力 | 2060 页 | 7.23 MB | 1 年前3
Django 1.10.x Documentation__str__(self): # __unicode__ on Python 2 return self.headline 2.1.2 Install it Next, run the Django command-line utility to create the database tables automatically: $ python manage.py migrate The migrate command database configuration, Django-specific options and application-specific settings. From the command line, cd into a directory where you’d like to store your code, then run the following command: $ django-admin Its name doesn’t matter to Django; you can rename it to anything you like. • manage.py: A command-line utility that lets you interact with this Django project in various ways. You can read all the details0 码力 | 1817 页 | 6.19 MB | 1 年前3
Django 1.8.x Documentation__str__(self): # __unicode__ on Python 2 return self.headline 2.1.2 Install it Next, run the Django command-line utility to create the database tables automatically: $ python manage.py migrate The migrate command database configuration, Django-specific options and application-specific settings. From the command line, cd into a directory where you’d like to store your code, then run the following command: $ django-admin Its name doesn’t matter to Django; you can rename it to anything you like. • manage.py: A command-line utility that lets you interact with this Django project in various ways. You can read all the details0 码力 | 1685 页 | 6.01 MB | 1 年前3
Django 2.2.x DocumentationCASCADE) def __str__(self): return self.headline Install it Next, run the Django command-line utilities to create the database tables automatically: $ python manage.py makemigrations $ python database configuration, Django-specific options and application-specific settings. From the command line, cd into a directory where you’d like to store your code, then run the following command: $ django-admin Its name doesn’t matter to Django; you can rename it to anything you like. manage.py: A command-line utility that lets you interact with this Django project in various ways. You can read all the details0 码力 | 2915 页 | 2.83 MB | 1 年前3
Django 2.1.x DocumentationCASCADE) def __str__(self): return self.headline Install it Next, run the Django command-line utility to create the database tables automatically: $ python manage.py migrate The migrate command database configuration, Django-specific options and application-specific settings. From the command line, cd into a directory where you’d like to store your code, then run the following command: $ django-admin Its name doesn’t matter to Django; you can rename it to anything you like. manage.py: A command-line utility that lets you interact with this Django project in various ways. You can read all the details0 码力 | 2790 页 | 2.71 MB | 1 年前3
共 474 条
- 1
- 2
- 3
- 4
- 5
- 6
- 48













