django-recurrence
django-recurrence copied to clipboard
How to configure frequencies
The code comments state that by default all frequencies are enabled. However in reality in django admin only the first 4 are enabled.
How can I enable all recurrence frequencies? ie Hourly, Minutely.
(Could be solved by better documentation #23)
Hi @macropin - sorry for taking a little while to reply.
I'm honestly not sure it's possible currently (I suspect the UI code isn't done for the other options), though patches are welcome if you're up to it.
You're right about our documentation - I'm hoping to be able to fix that over the next few weeks.
Me and a work colleague got this going for hourly. I will make a pull request this weekend on it.
Sounds great - thanks @swmcc!
This is still on my TODO list btw... I'll get to it by the end of the week. I've the fix done just adding documentation. I do think that maybe moving forward that it could be nicer to move the front-end into incorporating django forms instead of using JS. Would this be something that you think would be useful?
I suspect that wouldn't be easy - there'd be a huge amount of JS to rework, which would be difficult, and hard to test (we don't currently have any tests for the JS parts of django-recurrence). I'd probably avoid that change for now, personally.
I have added a basic form for this that me and my colleague (@chris-mccabe1988) wrote. I wish there was a nicer way to test this. That might be worth doing actually before me even putting this in as a PR... I will put it in as a PR feel free to do with it what you like. Might be worth waiting until there are tests for the JS though. This might help someone else out in the interim.
Is there a PR for this yet? I could possibly help out.
I have it somewhere. I might be able to shove it up for next weekend if I can find it handy enough. I will let you know. Even if I can give what I have @chrisbarry then that might help?
Any updates on the PR?