 Django 2.2.x Documentationserver Creating the Polls app Write your first view Writing your first Django app, part 2 Database setup Creating models Activating models Playing with the API Introducing the Django Admin Writing your Creating a project If this is your first time using Django, you’ll have to take care of some initial setup. Namely, you’ll need to auto-generate some code that establishes a Django project – a collection of where Tutorial 1 left off. We’ll setup the database, create your first model, and get a quick introduction to Django’s automatically-generated admin site. Database setup Now, open up mysite/settings.py0 码力 | 2915 页 | 2.83 MB | 1 年前3 Django 2.2.x Documentationserver Creating the Polls app Write your first view Writing your first Django app, part 2 Database setup Creating models Activating models Playing with the API Introducing the Django Admin Writing your Creating a project If this is your first time using Django, you’ll have to take care of some initial setup. Namely, you’ll need to auto-generate some code that establishes a Django project – a collection of where Tutorial 1 left off. We’ll setup the database, create your first model, and get a quick introduction to Django’s automatically-generated admin site. Database setup Now, open up mysite/settings.py0 码力 | 2915 页 | 2.83 MB | 1 年前3
 Django Q Documentation
Release 1.3.6dedicated database backend for it, this should probably not be your first choice for a high traffic setup. However for a medium message rate and scheduled tasks, this is the most convenient guaranteed delivery from django_q.tasks import async_task, result # make a backup copy of setup.py async_task('subprocess.call', ['cp', 'setup.py', 'setup.py.bak']) # call ls -l and dump the output task_id=async_task('subprocess copy of setup.py tid = async_task('subprocess.run', ['cp', 'setup.py', 'setup.py.bak']) # get the result r=result(tid, 500) # we can now look at the original arguments >>> r.args ['cp', 'setup.py', 'setup0 码力 | 62 页 | 452.10 KB | 1 年前3 Django Q Documentation
Release 1.3.6dedicated database backend for it, this should probably not be your first choice for a high traffic setup. However for a medium message rate and scheduled tasks, this is the most convenient guaranteed delivery from django_q.tasks import async_task, result # make a backup copy of setup.py async_task('subprocess.call', ['cp', 'setup.py', 'setup.py.bak']) # call ls -l and dump the output task_id=async_task('subprocess copy of setup.py tid = async_task('subprocess.run', ['cp', 'setup.py', 'setup.py.bak']) # get the result r=result(tid, 500) # we can now look at the original arguments >>> r.args ['cp', 'setup.py', 'setup0 码力 | 62 页 | 452.10 KB | 1 年前3
 Django Q Documentation
Release 1.3.6dedicated database backend for it, this should probably not be your first choice for a high traffic setup. However for a medium message rate and scheduled tasks, this is the most convenient guaranteed delivery from django_q.tasks import async_task, result # make a backup copy of setup.py async_task('subprocess.call', ['cp', 'setup.py', 'setup.py.bak']) # call ls -l and dump the output task_id=async_task('subprocess copy of setup.py tid = async_task('subprocess.run', ['cp', 'setup.py', 'setup.py.bak']) # get the result r=result(tid, 500) # we can now look at the original arguments >>> r.args ['cp', 'setup.py', 'setup0 码力 | 64 页 | 453.51 KB | 1 年前3 Django Q Documentation
Release 1.3.6dedicated database backend for it, this should probably not be your first choice for a high traffic setup. However for a medium message rate and scheduled tasks, this is the most convenient guaranteed delivery from django_q.tasks import async_task, result # make a backup copy of setup.py async_task('subprocess.call', ['cp', 'setup.py', 'setup.py.bak']) # call ls -l and dump the output task_id=async_task('subprocess copy of setup.py tid = async_task('subprocess.run', ['cp', 'setup.py', 'setup.py.bak']) # get the result r=result(tid, 500) # we can now look at the original arguments >>> r.args ['cp', 'setup.py', 'setup0 码力 | 64 页 | 453.51 KB | 1 年前3
 Django 3.0.x Documentationserver Creating the Polls app Write your first view Writing your first Django app, part 2 Database setup Creating models Activating models Playing with the API Introducing the Django Admin Writing your Creating a project If this is your first time using Django, you’ll have to take care of some initial setup. Namely, you’ll need to auto-generate some code that establishes a Django project – a collection database. Writing your first Django app, part 2 This tutorial begins where Tutorial 1 left off. We’ll setup the database, create your first model, and get a quick introduction to Django’s automatically-generated0 码力 | 3085 页 | 2.95 MB | 1 年前3 Django 3.0.x Documentationserver Creating the Polls app Write your first view Writing your first Django app, part 2 Database setup Creating models Activating models Playing with the API Introducing the Django Admin Writing your Creating a project If this is your first time using Django, you’ll have to take care of some initial setup. Namely, you’ll need to auto-generate some code that establishes a Django project – a collection database. Writing your first Django app, part 2 This tutorial begins where Tutorial 1 left off. We’ll setup the database, create your first model, and get a quick introduction to Django’s automatically-generated0 码力 | 3085 页 | 2.95 MB | 1 年前3
 Django 3.1.x Documentationserver Creating the Polls app Write your first view Writing your first Django app, part 2 Database setup Creating models Activating models Playing with the API Introducing the Django Admin Writing your Creating a project If this is your first time using Django, you’ll have to take care of some initial setup. Namely, you’ll need to auto-generate some code that establishes a Django project – a collection database. Writing your first Django app, part 2 This tutorial begins where Tutorial 1 left off. We’ll setup the database, create your first model, and get a quick introduction to Django’s automatically-generated0 码力 | 3094 页 | 3.03 MB | 1 年前3 Django 3.1.x Documentationserver Creating the Polls app Write your first view Writing your first Django app, part 2 Database setup Creating models Activating models Playing with the API Introducing the Django Admin Writing your Creating a project If this is your first time using Django, you’ll have to take care of some initial setup. Namely, you’ll need to auto-generate some code that establishes a Django project – a collection database. Writing your first Django app, part 2 This tutorial begins where Tutorial 1 left off. We’ll setup the database, create your first model, and get a quick introduction to Django’s automatically-generated0 码力 | 3094 页 | 3.03 MB | 1 年前3
 Django Q Documentation
Release 1.3.6dedicated database backend for it, this should probably not be your first choice for a high traffic setup. However for a medium message rate and scheduled tasks, this is the most convenient guaranteed delivery from django_q.tasks import async_task, result # make a backup copy of setup.py async_task('subprocess.call', ['cp', 'setup.py', 'setup.py.bak']) # call ls -l and dump the output task_id=async_task('subprocess copy of setup.py tid = async_task('subprocess.run', ['cp', 'setup.py', 'setup.py.bak']) # get the result r=result(tid, 500) # we can now look at the original arguments >>> r.args ['cp', 'setup.py', 'setup0 码力 | 81 页 | 512.48 KB | 1 年前3 Django Q Documentation
Release 1.3.6dedicated database backend for it, this should probably not be your first choice for a high traffic setup. However for a medium message rate and scheduled tasks, this is the most convenient guaranteed delivery from django_q.tasks import async_task, result # make a backup copy of setup.py async_task('subprocess.call', ['cp', 'setup.py', 'setup.py.bak']) # call ls -l and dump the output task_id=async_task('subprocess copy of setup.py tid = async_task('subprocess.run', ['cp', 'setup.py', 'setup.py.bak']) # get the result r=result(tid, 500) # we can now look at the original arguments >>> r.args ['cp', 'setup.py', 'setup0 码力 | 81 页 | 512.48 KB | 1 年前3
 Django Q Documentation
Release 1.3.6dedicated database backend for it, this should probably not be your first choice for a high traffic setup. However for a medium message rate and scheduled tasks, this is the most convenient guaranteed delivery from django_q.tasks import async_task, result # make a backup copy of setup.py async_task('subprocess.call', ['cp', 'setup.py', 'setup.py.bak']) # call ls -l and dump the output task_id=async_task('subprocess copy of setup.py tid = async_task('subprocess.run', ['cp', 'setup.py', 'setup.py.bak']) # get the result r=result(tid, 500) # we can now look at the original arguments >>> r.args ['cp', 'setup.py', 'setup0 码力 | 81 页 | 512.34 KB | 1 年前3 Django Q Documentation
Release 1.3.6dedicated database backend for it, this should probably not be your first choice for a high traffic setup. However for a medium message rate and scheduled tasks, this is the most convenient guaranteed delivery from django_q.tasks import async_task, result # make a backup copy of setup.py async_task('subprocess.call', ['cp', 'setup.py', 'setup.py.bak']) # call ls -l and dump the output task_id=async_task('subprocess copy of setup.py tid = async_task('subprocess.run', ['cp', 'setup.py', 'setup.py.bak']) # get the result r=result(tid, 500) # we can now look at the original arguments >>> r.args ['cp', 'setup.py', 'setup0 码力 | 81 页 | 512.34 KB | 1 年前3
 Django 3.2.x DocumentationCreating a project If this is your first time using Django, you’ll have to take care of some initial setup. Namely, you’ll need to auto-generate some code that establishes a Django project – a collection of 2.4 Writing your first Django app, part 2 This tutorial begins where Tutorial 1 left off. We’ll setup the database, create your first model, and get a quick intro- duction to Django’s automatically-generated going through this tutorial, please head over to the Getting Help section of the FAQ. 2.4.1 Database setup Now, open up mysite/settings.py. It’s a normal Python module with module-level variables representing0 码力 | 2199 页 | 7.89 MB | 1 年前3 Django 3.2.x DocumentationCreating a project If this is your first time using Django, you’ll have to take care of some initial setup. Namely, you’ll need to auto-generate some code that establishes a Django project – a collection of 2.4 Writing your first Django app, part 2 This tutorial begins where Tutorial 1 left off. We’ll setup the database, create your first model, and get a quick intro- duction to Django’s automatically-generated going through this tutorial, please head over to the Getting Help section of the FAQ. 2.4.1 Database setup Now, open up mysite/settings.py. It’s a normal Python module with module-level variables representing0 码力 | 2199 页 | 7.89 MB | 1 年前3
 Django 3.2.x Documentationserver Creating the Polls app Write your first view Writing your first Django app, part 2 Database setup Creating models Activating models Playing with the API Introducing the Django Admin Writing your Creating a project If this is your first time using Django, you’ll have to take care of some initial setup. Namely, you’ll need to auto-generate some code that establishes a Django project – a collection database. Writing your first Django app, part 2 This tutorial begins where Tutorial 1 left off. We’ll setup the database, create your first model, and get a quick introduction to Django’s automatically-generated0 码力 | 3121 页 | 3.08 MB | 1 年前3 Django 3.2.x Documentationserver Creating the Polls app Write your first view Writing your first Django app, part 2 Database setup Creating models Activating models Playing with the API Introducing the Django Admin Writing your Creating a project If this is your first time using Django, you’ll have to take care of some initial setup. Namely, you’ll need to auto-generate some code that establishes a Django project – a collection database. Writing your first Django app, part 2 This tutorial begins where Tutorial 1 left off. We’ll setup the database, create your first model, and get a quick introduction to Django’s automatically-generated0 码力 | 3121 页 | 3.08 MB | 1 年前3
 Django 3.0.x DocumentationCreating a project If this is your first time using Django, you’ll have to take care of some initial setup. Namely, you’ll need to auto- generate some code that establishes a Django project – a collection 2.4 Writing your first Django app, part 2 This tutorial begins where Tutorial 1 left off. We’ll setup the database, create your first model, and get a quick introduction to Django’s automatically-generated going through this tutorial, please head over to the Getting Help section of the FAQ. 2.4.1 Database setup Now, open up mysite/settings.py. It’s a normal Python module with module-level variables representing0 码力 | 2002 页 | 6.73 MB | 1 年前3 Django 3.0.x DocumentationCreating a project If this is your first time using Django, you’ll have to take care of some initial setup. Namely, you’ll need to auto- generate some code that establishes a Django project – a collection 2.4 Writing your first Django app, part 2 This tutorial begins where Tutorial 1 left off. We’ll setup the database, create your first model, and get a quick introduction to Django’s automatically-generated going through this tutorial, please head over to the Getting Help section of the FAQ. 2.4.1 Database setup Now, open up mysite/settings.py. It’s a normal Python module with module-level variables representing0 码力 | 2002 页 | 6.73 MB | 1 年前3
共 82 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9














