EventShiftSchedule
This is a Django app to provide a simple shift schedule. E.g. for partys! you need to place this inside your Django project folder and configure it correctly!
Installation
- Change to your Django project folder.
- If your project is in a git repository:
git submodule add https://github.com/MrOerni/EventShiftSchedule
. If not. Just clone it! - Add
EventShiftSchedule
to yourINSTALLED_APPS
insettings.py
. - Add an url to
url.py
. E.g.:url(r'^ess/', include("EventShiftSchedule.urls", namespace='EventShiftSchedule'))
. - Install the requirements with
pip install -r requirements.txt
. Tipp: If you have a requirements file in your project folder, just add-r EventShiftSchedule/requirements.txt
to it! makemigrations
,migrate
as usual.
Create an event
- Go into the admin menu. (e.g.
localhost:1234/admin/
) - Add an
Event
. You have to enter at least a date. - Add some Positions. (e.g. "Bar", "Security", ...) whatever Positions you want on your Party. You have to enter a Name, a prefered number of users which can take this position per timeslot, and the event from 2.
- Add some Times. These are timeslots. Add the date (remember to use the next date vor timeslots past midnight), the start time, the duration of this slot and the event from 2. You may enter an alternative Name for your Slot.
- Done! Visit
/ess
to show a list of events. Your new event should be there. Click it!
Create one-time positions (e.g. preparation, tidy up afterwards)
- Create an event like in the chapter above.
- Add an onetimeposition, you have to set a name, a time and the event you just created.
Contact
You can contact me under [email protected]