-
Notifications
You must be signed in to change notification settings - Fork 0
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
100 additions
and
48 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
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,9 +1,9 @@ | ||
# Terminology and Definitions | ||
|
||
## Topic 1 | ||
## Span | ||
|
||
Content | ||
A `Span` is a model with a range of some value (dates, numbers, etc). | ||
|
||
## Topic 2 | ||
## Segment | ||
|
||
Content | ||
A `Segment` is a model with a range of some value (dates, numbers, etc) that is a subset of a `Span`. A `Span` can have multiple `Segment` instances, but a `Segment` can only belong to one `Span`. |
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,43 +1,3 @@ | ||
# Usage | ||
|
||
## admin.py | ||
|
||
```{eval-rst} | ||
.. automodule:: django_segments.admin | ||
:members: | ||
``` | ||
|
||
## apps.py | ||
|
||
```{eval-rst} | ||
.. automodule:: django_segments.apps | ||
:members: | ||
``` | ||
|
||
## forms.py | ||
|
||
```{eval-rst} | ||
.. automodule:: django_segments.forms | ||
:members: | ||
``` | ||
|
||
## models.py | ||
|
||
```{eval-rst} | ||
.. automodule:: django_segments.models | ||
:members: | ||
``` | ||
|
||
## views.py | ||
|
||
```{eval-rst} | ||
.. automodule:: django_segments.views | ||
:members: | ||
``` | ||
|
||
## urls.py | ||
|
||
```{eval-rst} | ||
.. automodule:: django_segments.urls | ||
:members: | ||
``` | ||
Until this section is complete, please see the [tests](https://github.com/OmenApps/django-segments/tree/main/tests) and the [example project](https://github.com/OmenApps/django-segments/tree/main/example_project) for usage examples. |