The only ORM that you will ever need for python.
MIT License
Bot releases are hidden (Show)
databasez
0.8.5+.Published by tarsil 6 months ago
list
and tuples
as a type for model_apps.Published by tarsil 6 months ago
model_apps
inside the Migrate
object allowingPublished by tarsil 8 months ago
dymmond-settings
.Published by tarsil 8 months ago
dymmond-settings
minimum requirement.Published by tarsil 8 months ago
BREAKING CHANGE
Due to some internal compatibilities, Saffier is rolling back to SAFFIER_SETTINGS_MODULE
from SETTINGS_MODULE
SETTINGS_MODULE
was renamed to SAFFIER_SETTINGS_MODULE
.Published by tarsil 9 months ago
Published by tarsil 9 months ago
auto_now
and auto_now_add
on save()
and update()
wasn't only updating theauto_now
.date
and datetime
.Published by tarsil 9 months ago
Published by tarsil 9 months ago
SETTINGS_MODULE
if nothing is provided.Published by tarsil 9 months ago
using
queryset operator.to
attribute.ModelProxy
allowing to manipulate objects querysets such as only
and defer
.Saffier now uses Dymmond Settings which this simlpy affects the way the
settings module is loaded. Prior to version 1.3.0 it was like this:
SAFFIER_SETTINGS_MODULE=...
From version 1.3.0 is:
SETTINGS_MODULE=...
The rest remains as it. More information about how to use it in the official documentation.
select_related
.ManyToMany
to also accept a string as a parameter for the to
.Published by tarsil 10 months ago
sync
queries. This will enable Edgy to run in blocking frameworks likeusing
where schema name was raising a not found reference for foreign keyPublished by tarsil 11 months ago
or_
, and_
and not_
for SQLAlchemy style queries and Edgy syntax sugar queries.inspectdb
is now handled by an independent isolated called InspectDB
.databasez
0.7.0 and this fixes the URL parsing errors for complex passwordsurlsplit
.server_default
does not raise a FieldValidationError
.server_default
added as validation for nullable.!!! Warning
This could impact your migrations, so the advise would be to generate a new migration
after upgrading to the new version of Edgy to make sure the database reflects the proper
nullables/non-nullable fields.
Published by tarsil 12 months ago
Published by tarsil about 1 year ago
Published by tarsil about 1 year ago
Published by tarsil about 1 year ago
Published by tarsil about 1 year ago
using(schema=...)
and using_with_db(database=..., schema=...)
to querysets.create_schema
and drop_schema
via registry.get_default_schema
from the registry.schema
.extra
to registry allowing to pass a Dict like object containing more database connections. This is an alternative to the registries.build
for Model
and ReflectModel
to allow passing the schema.Published by tarsil about 1 year ago
from saffier.db.models.fields import ...
and thatfrom saffier.db.fields import ...
values()
and values_list()
to the queryset.Published by tarsil over 1 year ago
Migrate
object.