You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
588 B
16 lines
588 B
# -*- coding: utf-8 -*-
|
|
from django.http import HttpResponseRedirect, HttpResponse
|
|
#models
|
|
from functions.custom_views import ExpoListView, ExpoMixin, EventDetail
|
|
from django.views.generic import ListView, DetailView
|
|
from haystack.query import EmptySearchQuerySet
|
|
from functions.search_forms import ExpositionSearchForm
|
|
from django.views.generic import FormView, TemplateView
|
|
from event_forms import AddEventForm1
|
|
#
|
|
import json
|
|
from django.utils.translation import ugettext as _
|
|
|
|
class AddEventView(FormView):
|
|
template_name = 'organiser/add_event.html'
|
|
form_class = AddEventForm1
|
|
|