A package to easily schedule events with full calendar in Django Rest Framework.
Project description
=====
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 ...)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-events-rest-framework-0.1.tar.gz
.
File metadata
- Download URL: django-events-rest-framework-0.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d472f613c90c4f21752b25e435976fd09b4ca2a0a47ebb07ec12a6086f7aa0f4 |
|
MD5 | a3d01c99a8c4418ef7e8ba6c9ca2ea26 |
|
BLAKE2b-256 | ee6ab52397e28964a5df68b1ca5f3a979a73a12c04ac77771e5d8bc2fff8df31 |
File details
Details for the file django_events_rest_framework-0.1-py3-none-any.whl
.
File metadata
- Download URL: django_events_rest_framework-0.1-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e2ef3038f635cef7e82166dfc1ed3c2f2a057a9889ea90de7f692db235adfb6 |
|
MD5 | 1f534ae7450bcf58e4f98bedaac1e163 |
|
BLAKE2b-256 | fec96a4e3c4ef7eb72a635b83b31fca0480deca4af2359642dcd78bbc338b48c |