Skip to content

Commit

Permalink
Mention new settings in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil Muller committed Oct 13, 2023
1 parent f3e3450 commit bf2b82a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,33 @@ in the ``wafer.settings`` module, so you can import this in your app's
Wafer's settings
================

``CODE_HOSTING_ENTRIES``
A dictionary of code hosting sites for the user profile.
Entries should be of the form: **keyname**: "Description" .

Each entry in the dictionary will be added as a form field
on the profile page - entries are assumed to be for urls to
the approriate site.

Entries in this dictionary will be grouped together on
the edit profile form and on the profile display.

``PAGE_DIR``
The directory that the ``load_pages`` management command will load
pages from.
Should be an absolute path with a trailing ``/``.

``SOCIAL_MEDIA_ENTRIES``
A dictionary of social sites for the user profile.
Entries should be of the form: **keyname**: "Description" .

Each entry in the dictionary will be added as a form field
on the profile page - entries are assumed to be for urls to
the approriate site.

Entries in this dictionary will be grouped together on
the edit profile form and on the profile display.

``WAFER_CACHE``
The name of the Django cache backend that wafer can use.
Defaults to ``'wafer_cache'``.
Expand Down Expand Up @@ -165,6 +187,7 @@ Wafer's settings
email address of someone who will review the talk's video, once it
is ready to publish.


Third party settings
====================

Expand Down

0 comments on commit bf2b82a

Please sign in to comment.