Weekly Hours widget for Django Admin

I recently created custom widget for Django Admin area.

Weeklyhours

It’s used to edit pickled set of weekly hours range day by day. There is also ability to check a day as closed. Pure client side control was implemented as jQuery plugin for using with Django:

weekly_hours.js, weekly_hours.css

Server side model and widget:

models.py, admin.py

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: