django
django copied to clipboard
The Web framework for perfectionists with deadlines.
[Fixes 34024](https://code.djangoproject.com/ticket/34024) Test added alongside those added with the original PR by Josh.
We often say to locally exclude files from git, if they're IDE specific for example. The NPM lock file though is something that we'd expect to come up for any...
Fixed #32095 -- Changed update_or_create to only save auto_now fields and fields listed in defaults.
Extended from @apollo13 patch: https://github.com/django/django/pull/13526 Tried to address the PR comments which were to add handling for the auto_now fields and a test for the mti case.
We experience this in https://extensions.gnome.org after moving to OSCP4. It looks like this error can be safely ignored because file is uploaded.
ticket-32210
https://docs.python.org/3/library/stdtypes.html#memoryview
we use `MyModel` in following examples ```python class MyModel(models.Model): composite_pk = models.CompositeField('column1', 'column2', primary_key=True) column1 = IntegerField() column2 = IntegerField() class MyModel2(models.Model): model_id = models.CompositeField('column1', 'column2') column1 = IntegerField() column2...
Added db native uuid on MariaDB 10.7+