Django 1.8.x Documentationcustom django-admin commands Accepting optional arguments Management commands and locales Testing Command objects Writing custom model fields Introduction Background theory Writing a field subclass Writing headline Install it Next, run the Django command-line utility to create the database tables automatically: $ python manage.py migrate The migrate command looks at all your available models and creates shell; you should see something like: Python 3.3.3 (default, Nov 26 2013, 13:33:18) [GCC 4.8.2] on linux Type "help", "copyright", "credits" or "license" for more information. >>> Set up a database This0 码力 | 2454 页 | 2.85 MB | 1 年前3
Django 1.8.x Documentationheadline 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 looks at all your available models and creates shell; you should see something like: Python 3.3.3 (default, Nov 26 2013, 13:33:18) [GCC 4.8.2] on linux Type "help", "copyright", "credits" or "license" for more information. >>> 12 Chapter 2. Getting Django installed already. You can tell Django is installed and which version by running the following command: $ python -c "import django; print(django.get_version())" If Django is installed, you should see0 码力 | 1685 页 | 6.01 MB | 1 年前3
Django 1.10.x Documentationcustom django-admin commands Accepting optional arguments Management commands and locales Testing Command objects Writing custom model fields Introduction Background theory Writing a field subclass Writing headline Install it Next, run the Django command-line utility to create the database tables automatically: $ python manage.py migrate The migrate command looks at all your available models and creates installed by typing python from your shell; you should see something like: Python 3.4.x [GCC 4.x] on linux Type "help", "copyright", "credits" or "license" for more information. >>> Set up a database This0 码力 | 2538 页 | 2.59 MB | 1 年前3
Django 1.10.x Documentationheadline 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 looks at all your available models and creates installed by typing python from your shell; you should see something like: Python 3.4.x [GCC 4.x] on linux Type "help", "copyright", "credits" or "license" for more information. >>> 12 Chapter 2. Getting Django installed already. You can tell Django is installed and which version by running the following command: $ python -m django --version If Django is installed, you should see the version of your installation0 码力 | 1817 页 | 6.19 MB | 1 年前3
Django 2.2.x Documentationcommands Accepting optional arguments Management commands and locales Testing Overriding commands Command objects Writing custom model fields Introduction Background theory Writing a field subclass Writing Next, run the Django command-line utilities to create the database tables automatically: $ python manage.py makemigrations $ python manage.py migrate The makemigrations command looks at all your available installed by typing python from your shell; you should see something like: Python 3.x.y [GCC 4.x] on linux Type "help", "copyright", "credits" or "license" for more information. >>> Set up a database This0 码力 | 2915 页 | 2.83 MB | 1 年前3
Django 2.0.x Documentationcommands Accepting optional arguments Management commands and locales Testing Overriding commands Command objects Writing custom model fields Introduction Background theory Writing a field subclass Writing headline Install it Next, run the Django command-line utility to create the database tables automatically: $ python manage.py migrate The migrate command looks at all your available models and creates installed by typing python from your shell; you should see something like: Python 3.4.x [GCC 4.x] on linux Type "help", "copyright", "credits" or "license" for more information. >>> Set up a database This0 码力 | 2746 页 | 2.67 MB | 1 年前3
Django 2.1.x Documentationcommands Accepting optional arguments Management commands and locales Testing Overriding commands Command objects Writing custom model fields Introduction Background theory Writing a field subclass Writing headline Install it Next, run the Django command-line utility to create the database tables automatically: $ python manage.py migrate The migrate command looks at all your available models and creates installed by typing python from your shell; you should see something like: Python 3.x.y [GCC 4.x] on linux Type "help", "copyright", "credits" or "license" for more information. >>> Set up a database This0 码力 | 2790 页 | 2.71 MB | 1 年前3
Django 2.0.x Documentationheadline 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 looks at all your available models and creates installed by typing python from your shell; you should see something like: Python 3.4.x [GCC 4.x] on linux Type "help", "copyright", "credits" or "license" for more information. >>> 2.2.2 Set up a database Django installed already. You can tell Django is installed and which version by running the following command in a shell prompt (indicated by the $ prefix): 2.3. Writing your first Django app, part 1 13 Django0 码力 | 1880 页 | 6.41 MB | 1 年前3
Django 2.1.x Documentationheadline 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 looks at all your available models and creates Getting started Django Documentation, Release 2.1.16.dev20191202082911 Python 3.x.y [GCC 4.x] on linux Type "help", "copyright", "credits" or "license" for more information. >>> 2.2.2 Set up a database Django installed already. You can tell Django is installed and which version by running the following command in a shell prompt (indicated by the $ prefix): $ python -m django --version If Django is installed0 码力 | 1910 页 | 6.49 MB | 1 年前3
Django 1.11.x Documentationcommands Accepting optional arguments Management commands and locales Testing Overriding commands Command objects Writing custom model fields Introduction Background theory Writing a field subclass Writing headline Install it Next, run the Django command-line utility to create the database tables automatically: $ python manage.py migrate The migrate command looks at all your available models and creates installed by typing python from your shell; you should see something like: Python 3.4.x [GCC 4.x] on linux Type "help", "copyright", "credits" or "license" for more information. >>> Set up a database This0 码力 | 2747 页 | 2.67 MB | 1 年前3
共 93 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10













