File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,12 @@ $ docker-compose exec django py.test
3737
3838## what's in this
3939
40- ### ` SoftDeletableModel `
40+ #### ` SoftDeletableModel `
4141
4242Make your models have a ` deleted ` bool set when they are deleted instead of actuallying
4343being deleted. Uses a model manager ` SoftDeleteModelManager ` to keep them hidden.
4444
45- ### ` DefaultUserCreateMixin ` for ` ModelSerializers `
45+ #### ` DefaultUserCreateMixin ` for ` ModelSerializers `
4646
4747This will automatically set ` YourModel.created_by ` to ` request.user ` . To override which
4848attribute the user is written to, add a ` user_field ` to your classes Meta information
@@ -57,7 +57,7 @@ class MySerializer(DefaultUserCreateMixin, ModelSerializer):
5757 model = YourModel
5858```
5959
60- ### ` ./manage.py ` commands
60+ #### ` ./manage.py ` commands
6161
6262| command | description|
6363| :--- | :----: |
You can’t perform that action at this time.
0 commit comments