Django 官方教程翻译项目first Django app, part 5 Writing your first Django app, part 6 Writing your first Django app, part 7 Advanced tutorial: How to write reusable apps What to read next Django-intro-zh Django 官方教程翻译项目 100/100 7. Writing your first Django app, part 5 [==========] 100/100 8. Writing your first Django app, part 6 [==========] 100/100 9. Writing your first Django app, part 7 [==========] models 4. 5. class Reporter(models.Model): 6. full_name = models.CharField(max_length=70) 7. 8. def __str__(self): # Python 2 下请使用 __unicode__ 9. return self.full_name0 码力 | 103 页 | 1.86 MB | 1 年前3
Django Q Documentation
Release 0.2.2arguments for the function. result The result object. Contains the error if any occur. 1.2. Tasks 7 Django Q Documentation, Release 0.2.0 started The moment the task was picked up by a worker stopped for work at 31788 10:57:40 [Q] INFO Process-1:6 ready for work at 31789 10:57:40 [Q] INFO Process-1:7 ready for work at 31790 10:57:40 [Q] INFO Process-1:8 ready for work at 31791 10:57:40 [Q] INFO Process-1:9 Process-1:1 stopped doing work 16:44:13 [Q] INFO Process-1:5 stopped doing work 16:44:13 [Q] INFO Process-1:7 stopped doing work 16:44:13 [Q] INFO Process-1:3 stopped doing work 16:44:13 [Q] INFO Process-1:8 stopped0 码力 | 24 页 | 208.74 KB | 1 年前3
Django 5.1.2 DocumentationCustomize your app’s look and feel Adding a background-image Writing your first Django app, part 7 Customize the admin form Adding related objects Customize the admin change list Customize the admin Views and templates | Part 4: Forms and generic views | Part 5: Testing | Part 6: Static files | Part 7: Customizing the admin site | Part 8: Adding third- party packages Advanced Tutorials: How to write first Django app, part 5 Writing your first Django app, part 6 Writing your first Django app, part 7 Writing your first Django app, part 8 Advanced tutorial: How to write reusable apps What to read next0 码力 | 3519 页 | 3.17 MB | 1 年前3
Django 5.1 DocumentationCustomize your app’s look and feel Adding a background-image Writing your first Django app, part 7 Customize the admin form Adding related objects Customize the admin change list Customize the admin Views and templates | Part 4: Forms and generic views | Part 5: Testing | Part 6: Static files | Part 7: Customizing the admin site | Part 8: Adding third- party packages Advanced Tutorials: How to write first Django app, part 5 Writing your first Django app, part 6 Writing your first Django app, part 7 Writing your first Django app, part 8 Advanced tutorial: How to write reusable apps What to read next0 码力 | 3513 页 | 3.17 MB | 1 年前3
Django 5.0.x DocumentationCustomize your app’s look and feel Adding a background-image Writing your first Django app, part 7 Customize the admin form Adding related objects Customize the admin change list Customize the admin Views and templates | Part 4: Forms and generic views | Part 5: Testing | Part 6: Static files | Part 7: Customizing the admin site | Part 8: Adding third- party packages Advanced Tutorials: How to write first Django app, part 5 Writing your first Django app, part 6 Writing your first Django app, part 7 Writing your first Django app, part 8 Advanced tutorial: How to write reusable apps What to read next0 码力 | 3407 页 | 3.21 MB | 1 年前3
django cms 4.1.1 Documentation
. . . . . . . . . . . 5 3 Join us online 7 3.1 Discord . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.2 StackOverflow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 4 Why django CMS? 9 5 Software version requirements and release notes 11 5.1 Long-term support (LTS) . . . . . . . . . . . . StackOverflow StackOverflow is also a good place for questions around django CMS and its plugin ecosystem. 7 django cms Documentation, Release 4.1.1 8 Chapter 3. Join us online CHAPTER FOUR WHY DJANGO CMS0 码力 | 361 页 | 2.00 MB | 1 年前3
Django CMS 3.11.10 Documentation--close-button-bg #888 --dca-gray-darker #454545 --dca-gray-darkest #333 --dca-gray-super-lightest #f7f7f7 --dca-primary #00bbff --primary #79aec8 --dca-black #000 --body-fg #303030 This leaves these recommendations namespace = resolve(path).namespace config = app.get_config(namespace) 7. Declare the app’s URLs in urls.py: .. code-block: 8. Finally, create a template for the index view: com/django- cms/django-cms/commit/7dafe846a94e50e96e29f0d8909fc25f43cbcaab) Fix pagetree and status alignment (https://github.com/django-cms/django- cms/commit/914558d283c197b4035ae7e1a084860f486c9429) Feat Upgrade0 码力 | 493 页 | 1.44 MB | 6 月前0.03
Django CMS 4.1.x Documentation--close-button-bg #888 --dca-gray-darker #454545 --dca-gray-darkest #333 --dca-gray-super-lightest #f7f7f7 --dca-primary #00bbff --primary #79aec8 --dca-black #000 --body-fg #303030 This leaves these recommendations namespace = resolve(path).namespace config = app.get_config(namespace) 7. Declare the app’s URLs in urls.py: .. code-block: 8. Finally, create a template for the index view: position in the new placeholder 6. save the concrete plugin (which creates a new plugin in the database) 7. trigger the copy relations 8. return the plugin ids cms.utils.plugins.downcast_plugins(plugins, placeholders=None0 码力 | 518 页 | 1.66 MB | 6 月前3
django cms 4.1.x Documentation. . . . . . . . . . . 5 3 Join us online 7 3.1 Discord . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.2 StackOverflow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 4 Why django CMS? 9 5 Software version requirements and release notes 11 5.1 Long-term support (LTS) . . . . . . . . . . . . StackOverflow StackOverflow is also a good place for questions around django CMS and its plugin ecosystem. 7 django cms Documentation, Release 4.1.2 8 Chapter 3. Join us online CHAPTER FOUR WHY DJANGO CMS0 码力 | 357 页 | 1.99 MB | 1 年前3
Django Q Documentation
Release 0.3.6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.3 Schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . worker 2 cpu [3, 4, 5] worker 3 cpu [6, 7, 0] worker 4 cpu [1, 2, 3] worker 5 cpu [4, 5, 6] worker 6 cpu [7, 0, 1] worker 7 cpu [2, 3, 4] worker 8 cpu [5, 6, 7] In some cases, setting the cpu affinity the task will then be available immediately task = fetch(task_id) # and can be examined 1.2. Tasks 7 Django Q Documentation, Release 0.3.6 if not task.success: print('An error occurred: {}'.format(task0 码力 | 30 页 | 235.40 KB | 1 年前3
共 92 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10













