Results of 51 - 60 of about 106 for save (0.049 sec.)
- Django 1.10 リリースノート — Django 4.0.6 ドキュメント 6011
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ed in the deprecation note . When using ModelAdmin.save_as=True , the "Save as new" button now redirects t ...
need the previous behavior, set the new ModelAdmin.save_as_continue attribute to False . Required form fie ...
ng QuerySet.defer() and only() is removed. Storage.save() no longer replaces '\' with '/' . This behavior ...
will need to implement it in the custom storage's save() method. Private FileField methods get_directory_ ...
-
https://man.plustar.jp/django/releases/1.10.html
- [similar]
- File storage API — Django 4.0.6 ドキュメント 5960
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
permissions that the file will receive when it is saved. Defaults to FILE_UPLOAD_PERMISSIONS . directory_ ...
issions that the directory will receive when it is saved. Defaults to FILE_UPLOAD_DIRECTORY_PERMISSIONS . ...
_name() and returns a filename to be passed to the save() method. The filename argument may include a path ...
stem, this will raise NotImplementedError instead. save ( name , content , max_length = None ) ¶ Saves a n ...
-
https://man.plustar.jp/django/ref/files/storage.html
- [similar]
- Django 1.4 release notes — Django 4.0.6 ドキュメント 5960
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
the request). New ModelAdmin methods ¶ We added a save_related() method to ModelAdmin to ease customizati ...
on of how related objects are saved in the admin. Two other new ModelAdmin methods, g ...
pp has a new static template tag to refer to files saved with the STATICFILES_STORAGE storage backend. It ...
taticFilesStorage backend that caches the files it saves (when running the collectstatic management comman ...
-
https://man.plustar.jp/django/releases/1.4.html
- [similar]
- Django 1.7 release notes — Django 4.0.6 ドキュメント 5960
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
their associated column data type range from being saved resulting in an integrity error. It is now possib ...
ey related managers changed from a series of Model.save() calls to a single QuerySet.update() call. The ch ...
ange means that pre_save and post_save signals aren't sent anymore. You can ...
er. ModelFormSet s no longer delete instances when save(commit=False) is called. See can_delete for instru ...
-
https://man.plustar.jp/django/releases/1.7.html
- [similar]
- django.contrib.messages.middleware — Django 4.0.6 ドキュメント 5896
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
response ): """ Update the storage backend (i.e., save the messages). Raise ValueError if not all message ...
-
https://man.plustar.jp/django/_modules/django/contrib/messages/middleware.html
- [similar]
- アプリケーション — Django 4.0.6 ドキュメント 5896
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
AppConfig from django.db.models.signals import pre_save class RockNRollConfig ( AppConfig ): # ... def rea ...
istering signals with the model's string label pre_save . connect ( receiver , sender = 'app_label.MyModel ...
This includes model methods that execute queries ( save() , delete() , manager methods etc.), and also raw ...
-
https://man.plustar.jp/django/ref/applications.html
- [similar]
- django.dispatch.dispatcher — Django 4.0.6 ドキュメント 5832
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
and keyword arguments to connect:: @receiver(post_save, sender=MyModel) def signal_receiver(sender, **kwa ...
rgs): ... @receiver([post_save, post_delete], sender=MyModel) def signals_receive ...
-
https://man.plustar.jp/django/_modules/django/dispatch/dispatcher.html
- [similar]
- django-admin と manage.py — Django 4.0.6 ドキュメント 5832
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
on . When fixture files are processed, the data is saved to the database as is. Model defined save() metho ...
ds are not called, and any pre_save or post_save signals will be called with raw=True ...
ception: from django.db.models.signals import post_save from .models import MyModel def my_handler ( ** kw ...
xture loading if kwargs [ 'raw' ]: return ... post_save . connect ( my_handler , sender = MyModel ) You co ...
-
https://man.plustar.jp/django/ref/django-admin.html
- [similar]
- Django 1.0 リリースノート — Django 4.0.6 ドキュメント 5832
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ough Django's default behavior of having a model's save() method automatically determine whether to perfor ...
models can now support an additional parameter to save() which can force a specific operation. See INSERT ...
-
https://man.plustar.jp/django/releases/1.0.html
- [similar]
- Django 1.2 リリースノート — Django 4.0.6 ドキュメント 5832
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
hod on QuerySet objects. Individual objects can be saved to a specific database by providing a using argum ...
ent when you call save() . Model validation ¶ Model instances now have su ...
med explicitly. Simply invoking a model instance's save() method will not perform any validation of the in ...
# ... def db_type ( self ): # ... def get_db_prep_save ( self , value ): # ... def get_db_prep_value ( se ...
-
https://man.plustar.jp/django/releases/1.2.html
- [similar]