Skip to content

Move the "REMAINDER_CHECK_INTERVAL" setting from the settings file to the settings application. #16

Open
@DjangoCRM

Description

@DjangoCRM

To make changing some project settings more convenient CRM has a Settings application that allows users to make changes through a web interface.

Here's what needs to be done:

  1. In settings app:
  • Create Reminders model with PositiveIntegerField (for the setting value).
  • In the admin.py file create RemindersAdmin in which the permissions to create and delete Reminders objects are set to False for all users.
  • Create a fixture with Reminders instance.
  1. In common app:
  • Add the loading of this fixture to the setupdata command.
  • In RemindersSender we change the receipt of the value "REMAINDER_CHECK_INTERVAL".
  • Create a test.

All changes must be committed separately (create a pull request), except for the last two points.
Every commit must pass existing tests.

Create draft pull requests to get assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions