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
Django 2.0.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 码力 | 2746 页 | 2.67 MB | 1 年前3
共 54 条
- 1
- 2
- 3
- 4
- 5
- 6













