django-recurrence icon indicating copy to clipboard operation
django-recurrence copied to clipboard

How to configure frequencies

Open macropin opened this issue 10 years ago • 9 comments

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.

frequencies

(Could be solved by better documentation #23)

macropin avatar Sep 30 '14 06:09 macropin

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.

dominicrodger avatar Oct 06 '14 08:10 dominicrodger

Me and a work colleague got this going for hourly. I will make a pull request this weekend on it.

swmcc avatar May 01 '15 14:05 swmcc

Sounds great - thanks @swmcc!

dominicrodger avatar May 01 '15 14:05 dominicrodger

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?

swmcc avatar May 05 '15 21:05 swmcc

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.

dominicrodger avatar May 06 '15 10:05 dominicrodger

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. screen shot 2015-05-06 at 21 46 24

swmcc avatar May 06 '15 20:05 swmcc

Is there a PR for this yet? I could possibly help out.

chrisbarry avatar Jan 15 '16 08:01 chrisbarry

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?

swmcc avatar Jan 15 '16 18:01 swmcc

Any updates on the PR?

MoshiMoshi0 avatar May 03 '17 13:05 MoshiMoshi0