-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
include AUTHORS CHANGES README.md LICENCE | ||
recursive-include edc_timepoint/templates * | ||
recursive-include edc_timepoint/static * | ||
recursive-include docs * | ||
recursive-exclude edc_example/* | ||
recursive-exclude etc/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,17 @@ | ||
from django.apps import AppConfig as DjangoAppConfig | ||
|
||
from edc_timepoint_status.apps import AppConfig as EdcTimepointStatusAppConfigParent | ||
|
||
|
||
class AppConfig(DjangoAppConfig): | ||
name = 'example' | ||
|
||
|
||
class EdcTimepointStatusAppConfig(EdcTimepointStatusAppConfigParent): | ||
timepoint_models = { | ||
'example.appointment': { | ||
'datetime_field': 'appt_datetime', # the datetime field | ||
'status_field': 'appt_status', # the status field | ||
'closed_status': 'CLOSED' # the value of appt_status when closed | ||
} | ||
} |