Guilouf / AgenDjang

Django app for task scheduling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AgenDjang

Travis Travis Django app for task scheduling

TODO

  • 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

Install

  • pip install -r requirements.txt
  • python manage.py makemigrations
  • python manage.py migrate

Build

  • Be sure to have wheel package installed, if not pip will use an egg install (old)
  • pip install .

Install in another project

  • pip install git+https://github.com/Guilouf/AgenDjang.git or append git+https://github.com/Guilouf/AgenDjang.git in your project's requirements.txt
  • Put agendjang in INSTALLED_APPS
  • include urls path('your_path', include('agendjang.urls'))

Security

  • CSRF protection is enabled if 'rest_framework.authentication.SessionAuthentication', is used. CSRF_USE_SESSIONS and CSRF_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 your MIDDLEWARE list (be sure to have a login view, put this in project's urls.py to do a quick test: path('accounts/login/', auth_views.LoginView.as_view(template_name='admin/login.html')),)

About

Django app for task scheduling

License:Apache License 2.0


Languages

Language:Python 64.6%Language:JavaScript 21.5%Language:HTML 12.5%Language:CSS 1.4%