You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to apply django-safedelete to my django repo, but all my tables already have a deleted_at, and I'd to avoid renaming all of these columns, since I use a naming convention where all timestamp columns are appended with _at. Is there any way we can refactor this package to allow me to choose what column name I'd like to use?
I'm currently forking the repo to make a one line change (in models.py), but I'd prefer not to if possible: deleted = models.DateTimeField(name='deleted_at', editable=False, null=True)
The text was updated successfully, but these errors were encountered:
I'm trying to apply django-safedelete to my django repo, but all my tables already have a
deleted_at
, and I'd to avoid renaming all of these columns, since I use a naming convention where all timestamp columns are appended with_at
. Is there any way we can refactor this package to allow me to choose what column name I'd like to use?I'm currently forking the repo to make a one line change (in
models.py
), but I'd prefer not to if possible:deleted = models.DateTimeField(name='deleted_at', editable=False, null=True)
The text was updated successfully, but these errors were encountered: