Closed lamcw closed 6 years ago
This looks to be a good idea. I'd go with django-recurrence, mainly for its better documentation. You're free to use it in the project.
We're able to do this without using external libraries, so no need for this issue now.
Currently we plan to create one-off/weekly workshops by dynamically adding forms to a formset and storing them independently in the database, i.e., each workshops may have no relationships with the next/previous occurrence. I feel like this would be a big challenge for us to develop a bug-free, clean solution to query for workshop time and displaying them in our website. For example, generating workshops with a given pattern (weekly, biweekly, twice a week, etc.) could be difficult to implement. Users may want to exclude public holiday when generating workshop time. Do you think it's a good idea to use an existing solution in our project?
A few options I found on GitHub:
Both supports custom repeating rules.
For working day support, see django-recurrence/django-recurrence#83