Django app for task scheduling
- Add the javascript calendar, full calendar
- Use DRF for AJAX
- Handle js dependencies
- Markdown support for TextFields
- Calendar export, e.g as VCS
- Interaction with the google calendar API
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
- Be sure to have
wheel
package installed, if not pip will use an egg install (old) pip install .
pip install git+https://github.com/Guilouf/AgenDjang.git
or appendgit+https://github.com/Guilouf/AgenDjang.git
in your project'srequirements.txt
- Put
agendjang
inINSTALLED_APPS
- include urls
path('your_path', include('agendjang.urls'))
- CSRF protection is enabled if
'rest_framework.authentication.SessionAuthentication',
is used.CSRF_USE_SESSIONS
andCSRF_COOKIE_HTTPONLY
should be at default "False" value. - If no user is logged, it still works but there is no
CSRF
protection indeed. - To prevent access to unauthenticated users specifically for the Agendjang app,
put
'agendjang.middleware.LoginRequiredAccess'
in yourMIDDLEWARE
list (be sure to have a login view, put this in project'surls.py
to do a quick test:path('accounts/login/', auth_views.LoginView.as_view(template_name='admin/login.html')),
)