=====
Events
=====
django-events is a package for the process of scheduling events using Django Rest Framework. Events can be scheduled in a daily,monthly and in few other ways which can be easily integrated with full calendar.
Use this package with postgres database.
Detailed documentation is in the "docs" directory.
Quick start
-----------
1. Add "events" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'events',
]
2. Include the polls URLconf in your project urls.py like this::
path('events/', include('events.urls')),
3. Run `python manage.py migrate` to create the events models.
4. Start the development server , http://127.0.0.1:8000/events/event`
is the endpoint for creating and viewing the events.
5. GET request needs to be of the form `http://127.0.0.1:8000/events/event?start="start date goes here"&end="end date goes here"`.
6 POST request (URL:`http://127.0.0.1:8000/events/event`) should contain :
* title : Some name for the event
* start_date : Starting date of the event
* start_time : Starting time of the event
* end_time : ending time of the event
* end_recurring_date : if the event is reccurring then this date will be used as a limiting end_recurring_date
* repeats : 0 - if the event occurs only once , 1 if the event is reccurring
* repeat_frequenct : 0 - if the event occurs only once, 1 if for daily ,2 for weekly ,3 for monthly
* dow : days of week in which the event occurs ( only for weekly and monthly )
* week_type : only for monthly ( 0:first week of the month ,1:second week of the month ...)
Events
=====
django-events is a package for the process of scheduling events using Django Rest Framework. Events can be scheduled in a daily,monthly and in few other ways which can be easily integrated with full calendar.
Use this package with postgres database.
Detailed documentation is in the "docs" directory.
Quick start
-----------
1. Add "events" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'events',
]
2. Include the polls URLconf in your project urls.py like this::
path('events/', include('events.urls')),
3. Run `python manage.py migrate` to create the events models.
4. Start the development server , http://127.0.0.1:8000/events/event`
is the endpoint for creating and viewing the events.
5. GET request needs to be of the form `http://127.0.0.1:8000/events/event?start="start date goes here"&end="end date goes here"`.
6 POST request (URL:`http://127.0.0.1:8000/events/event`) should contain :
* title : Some name for the event
* start_date : Starting date of the event
* start_time : Starting time of the event
* end_time : ending time of the event
* end_recurring_date : if the event is reccurring then this date will be used as a limiting end_recurring_date
* repeats : 0 - if the event occurs only once , 1 if the event is reccurring
* repeat_frequenct : 0 - if the event occurs only once, 1 if for daily ,2 for weekly ,3 for monthly
* dow : days of week in which the event occurs ( only for weekly and monthly )
* week_type : only for monthly ( 0:first week of the month ,1:second week of the month ...)
Release files for django-events-rest-framework 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-events-rest-framework-0.1.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_events_rest_framework-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.0 kB
Release files / django-events-rest-framework-0.1.tar.gz
| Download URL | django-events-rest-framework-0.1.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d472f613c90c4f21752b25e435976fd09b4ca2a0a47ebb07ec12a6086f7aa0f4
|
|
BLAKE2b-256 checksum How to use checksums |
ee6ab52397e28964a5df68b1ca5f3a979a73a12c04ac77771e5d8bc2fff8df31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
|
Release files / django_events_rest_framework-0.1-py3-none-any.whl
| Download URL | django_events_rest_framework-0.1-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e2ef3038f635cef7e82166dfc1ed3c2f2a057a9889ea90de7f692db235adfb6
|
|
BLAKE2b-256 checksum How to use checksums |
fec96a4e3c4ef7eb72a635b83b31fca0480deca4af2359642dcd78bbc338b48c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
|