Skip to content

Commit 75e2310

Browse files
committed
start of drf docs
1 parent 848d46d commit 75e2310

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

Diff for: CHANGELOG.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
./docs/source/changelog.rst
1+
./docs/changelog.rst

Diff for: actstream/settings.py

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def get_action_manager():
3636
'EXPAND_FIELDS': True,
3737
'HYPERLINK_FIELDS': False,
3838
'SERIALIZERS': {},
39+
'MODEL_FIELDS': {},
3940
'VIEWSETS': {},
4041
'PERMISSIONS': ['rest_framework.permissions.IsAuthenticated']
4142
}

Diff for: docs/changelog.rst

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
Changelog
44
=========
55

6+
1.5.0
7+
-----
8+
9+
- Added django-rest-framework support
10+
611
1.4.0
712
------
813

Diff for: docs/configuration.rst

+8
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Here is an example of what you can set in your ``settings.py``
4242
'USE_PREFETCH': True,
4343
'USE_JSONFIELD': True,
4444
'GFK_FETCH_DEPTH': 1,
45+
'DRF': {'ENABLE': True}
4546
}
4647
4748
.. note::
@@ -100,6 +101,13 @@ Lets you add custom data to any of your actions, see :ref:`custom-data`
100101
Defaults to ``False``
101102

102103

104+
DRF
105+
***
106+
107+
Enable this group of settings to use the django-rest-framework integration.
108+
Fore more information about the available settings see :ref:`drf`
109+
110+
103111
GFK_FETCH_DEPTH
104112
***************
105113

0 commit comments

Comments
 (0)