Forums

How to get 'event' calendar in djangoAdmin to display on website?

I've just created a basic event scheduler to work on the django admin site using this:

class Event(models.Model):
    day = models.DateField(u'Day of the event', help_text=u'Day of the event')
    start_time = models.TimeField(u'Starting time', help_text=u'Starting time')
    end_time = models.TimeField(u'Final time', help_text=u'Final time')
    notes = models.TextField(u'Textual Notes', help_text=u'Textual Notes', blank=True, null=True)

and with the extra settings required this shows a calendar on the admin page, but how to get the calendar to display on the main site, ie. index.html front page?

[edit by admin: formatting]

Google is your friend for this kind of thing. If you search for "django display calendar entry form" you'll see that the first hit is this Stack Overflow post -- and there are a number of other useful-looking pages in the results too.

ok, thanks, it's a kind of 'widget' thing , I'll check that out