-
-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding FlexiEmbedField.linked to #624 #628
base: master
Are you sure you want to change the base?
adding FlexiEmbedField.linked to #624 #628
Conversation
Added storage class to save files in database using GridFS
Major refactor
Signed-off-by: Alessandro Bellia <[email protected]>
* update sqlparse to 0.4.2 * remove limit from django version * insert can now be used * add change notices * update condition for constant and index name when in and nin operators are used in query * update condition for constant and index name when in and nin operators are used in query (remove redundant)
Djongo is upgraded to work with Django 4.0.1
My Testing Model Structure 👍 class TestAbs(models.Model):
class TestEmbed(models.Model):
To save the model like this save method also should be overridden. In this current modeling desc2 of TestAbs can be skipped any time. |
49a3eb5
to
ce0b58a
Compare
Added a EmbeddedField supported some flexible behavior. It will not be always required to put the value over the model field. If you want to skip it put null=True, blank=True. Though current implementation will check all condition and decide if the field is skippable or not. If it is possible It will skip the field from the current instance while saving in database. This functionality will give you the full feature of document type database such as mongoDB. You can save it as a flexible document.