Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ Using the app is pretty simple:
Additional
----------

Logical deletes are handled by date stamping a `date_removed` column. In
addition, a ``date_created`` and ``date_modified`` columns will be populated as a
convenience.
Logical deletes are handled by date stamping a `date_removed` column.


Backwards Incompatible Changes
Expand Down
2 changes: 0 additions & 2 deletions pinax/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ class LogicalDeleteModel(models.Model):
This base model provides date fields and functionality to enable logical
delete functionality in derived models.
"""
date_created = models.DateTimeField(default=timezone.now)
date_modified = models.DateTimeField(default=timezone.now)
date_removed = models.DateTimeField(null=True, blank=True)

objects = managers.LogicalDeletedManager()
Expand Down