Django 4.2.x Documentationthen re-squash that squashed migration until you have fully transitioned it to a normal migration. Pruning references to deleted migrations If it is likely that you may reuse the name of a deleted migration postgres' must be in your INSTALLED_APPS. SearchVector class SearchVector(*expressions, config=None, weight=None) Searching against a single field is great but rather limiting. The Entry instances we’re searching See Changing the search configuration and Weighting queries for an explanation of the config and weight parameters. SearchQuery class SearchQuery(value, config=None, search_type='plain') SearchQuery0 码力 | 3305 页 | 3.16 MB | 1 年前3
Django 4.1.x Documentationthen re-squash that squashed migration until you have fully transitioned it to a normal migration. Pruning references to deleted migrations If it is likely that you may reuse the name of a deleted migration postgres' must be in your INSTALLED_APPS. SearchVector class SearchVector(*expressions, config=None, weight=None) Searching against a single field is great but rather limiting. The Entry instances we’re searching See Changing the search configuration and Weighting queries for an explanation of the config and weight parameters. SearchQuery class SearchQuery(value, config=None, search_type='plain') SearchQuery0 码力 | 3240 页 | 3.13 MB | 1 年前3
django cms 4.1.x Documentationforms import PollWizardForm class PollWizard(Wizard): pass poll_wizard = PollWizard( title="Poll", weight=200, # determines the ordering of wizards in the Create dialog form=PollWizardForm, description="Create MyAppWizardForm class MyAppWizard(Wizard): pass my_app_wizard = MyAppWizard( title="New MyApp", weight=200, form=MyAppWizardForm, description="Create a new MyApp instance", ) wizard_pool.register(my_app_wizard) models import MyApp class MyAppWizard(Wizard): pass my_app_wizard = MyAppWizard( title="New MyApp", weight=200, form=MyAppWizardForm, model=MyApp, description="Create a new MyApp instance", ) wizard_pool0 码力 | 357 页 | 1.99 MB | 1 年前3
django cms 4.1.1 Documentation
forms import PollWizardForm class PollWizard(Wizard): pass poll_wizard = PollWizard( title="Poll", weight=200, # determines the ordering of wizards in the Create dialog form=PollWizardForm, description="Create MyAppWizardForm class MyAppWizard(Wizard): pass my_app_wizard = MyAppWizard( title="New MyApp", weight=200, form=MyAppWizardForm, description="Create a new MyApp instance", ) wizard_pool.register(my_app_wizard) models import MyApp class MyAppWizard(Wizard): pass my_app_wizard = MyAppWizard( title="New MyApp", weight=200, form=MyAppWizardForm, model=MyApp, description="Create a new MyApp instance", ) wizard_pool0 码力 | 361 页 | 2.00 MB | 1 年前3
Django CMS 4.1.x DocumentationPollWizardForm class PollWizard(Wizard): pass poll_wizard = PollWizard( title="Poll", weight=200, # determines the ordering of wizards in the Create dialog form=PollWizardForm, description="Create MyAppWizardForm class MyAppWizard(Wizard): pass my_app_wizard = MyAppWizard( title="New MyApp", weight=200, form=MyAppWizardForm, description="Create a new MyApp instance", ) wizard_pool.re MyApp class MyAppWizard(Wizard): pass my_app_wizard = MyAppWizard( title="New MyApp", weight=200, form=MyAppWizardForm, model=MyApp, description="Create a new MyApp instance", )0 码力 | 518 页 | 1.66 MB | 7 月前3
Django CMS 3.11.10 DocumentationPollWizardForm class PollWizard(Wizard): pass poll_wizard = PollWizard( title="Poll", weight=200, # determines the ordering of wizards in the Create dialog form=PollWizardForm, description="Create MyAppWizardForm class MyAppWizard(Wizard): pass my_app_wizard = MyAppWizard( title="New MyApp", weight=200, form=MyAppWizardForm, description="Create a new MyApp instance", ) wizard_pool.re MyApp class MyAppWizard(Wizard): pass my_app_wizard = MyAppWizard( title="New MyApp", weight=200, form=MyAppWizardForm, model=MyApp, description="Create a new MyApp instance", )0 码力 | 493 页 | 1.44 MB | 7 月前0.03
Django 5.1.2 Documentationre-squash that squashed migration until you have fully transitioned it to a normal migration. Pruning references to deleted migrations If it is likely that you may reuse the name of a deleted migration objects.create(url="https://www.djangoproject.com/") >>> animal = Animal.objects.create(name="lion", weight=100) >>> TaggedItem.objects.create(tag="great", content_object=bookmark) >>> TaggedItem.objects postgres' must be in your INSTALLED_APPS. SearchVector class SearchVector(*expressions, config=None, weight=None) Searching against a single field is great but rather limiting. The Entry instances we’re searching0 码力 | 2923 页 | 9.62 MB | 1 年前3
Django 5.1 Documentationthen re-squash that squashed migration until you have fully transitioned it to a normal migration. Pruning references to deleted migrations If it is likely that you may reuse the name of a deleted migration objects.create(url="https://www.djangoproject.com/") >>> animal = Animal.objects.create(name="lion", weight=100) >>> TaggedItem.objects.create(tag="great", content_object=bookmark) >>> TaggedItem.objects. postgres' must be in your INSTALLED_APPS. SearchVector class SearchVector(*expressions, config=None, weight=None)[source] [https://github.com/django/django/blob/stable/5.1.x/django/contrib/postgres/search0 码力 | 3513 页 | 3.17 MB | 1 年前3
Django 5.1 Documentationre-squash that squashed migration until you have fully transitioned it to a normal migration. Pruning references to deleted migrations If it is likely that you may reuse the name of a deleted migration objects.create(url="https://www.djangoproject.com/") >>> animal = Animal.objects.create(name="lion", weight=100) >>> TaggedItem.objects.create(tag="great", content_object=bookmark) >>> TaggedItem.objects postgres' must be in your INSTALLED_APPS. SearchVector class SearchVector(*expressions, config=None, weight=None) Searching against a single field is great but rather limiting. The Entry instances we’re searching0 码力 | 2917 页 | 9.59 MB | 1 年前3
Django 5.1.2 Documentationthen re-squash that squashed migration until you have fully transitioned it to a normal migration. Pruning references to deleted migrations If it is likely that you may reuse the name of a deleted migration objects.create(url="https://www.djangoproject.com/") >>> animal = Animal.objects.create(name="lion", weight=100) >>> TaggedItem.objects.create(tag="great", content_object=bookmark) >>> TaggedItem.objects. postgres' must be in your INSTALLED_APPS. SearchVector class SearchVector(*expressions, config=None, weight=None)[source] [https://github.com/django/django/blob/stable/5.1.x/django/contrib/postgres/search0 码力 | 3519 页 | 3.17 MB | 1 年前3
共 44 条
- 1
- 2
- 3
- 4
- 5













