Enable events to be badged.
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Wed, 6 Dec 2017 03:06:37 +0000 (12:06 +0900)
committerMagnus Hagander <magnus@hagander.net>
Wed, 6 Dec 2017 03:06:37 +0000 (12:06 +0900)
commite7014d7ecc75d991579087f33b8d89faa92285c3
tree7281eacfda26d4ca2c25c8012700d64376493bf2
parent8bee611bffc5a5a98dfc24f140e264037a7d0485
Enable events to be badged.

Adds the "badged" flag to the Event model in order to distinguish
community badged events from other PostgreSQL oriented events.
Seven total events will be displayed on the homepage, with up to
four community events displayed. If there are no upcoming
community events then, then the header "Events" is shown.

The event submission interface allows a user to opt-in to
listing an event as a "community" event and provide an
explanation for moderators as to why the event should be
considered a community event.

Expands the list of News and Planet PostgreSQL blog entries to 10.
pgweb/core/views.py
pgweb/events/forms.py
pgweb/events/migrations/0002_event_badged.py [new file with mode: 0644]
pgweb/events/models.py
pgweb/events/views.py
templates/base/form.html
templates/index.html