данные платной конференции

remotes/origin/HEAD
Slava Kyrachevsky 9 years ago
parent 0393bd03cf
commit a6582b3cd0
  1. 2
      apps/conference/views.py
  2. 4
      templates/client/conference/conference_detail.html

@ -461,7 +461,7 @@ class ConferenceDetail(ObjectStatMixin, CommentMixin, JitterCacheMixin, Metadata
# except City.DoesNotExist: # except City.DoesNotExist:
# return super(ConferenceDetail, self).dispatch(request, *args, **kwargs) # return super(ConferenceDetail, self).dispatch(request, *args, **kwargs)
if city: if city:
return HttpResponseRedirect('/conference/city/%s/'%city.url) return HttpResponseRedirect('/conference/city/%s/' % city.url)
except Exception: except Exception:
# try: # try:
return super(ConferenceDetail, self).dispatch(request, *args, **kwargs) return super(ConferenceDetail, self).dispatch(request, *args, **kwargs)

@ -23,14 +23,12 @@
{% endblock %} {% endblock %}
{% block content_list %} {% block content_list %}
{% include 'client/includes/conference/conference_partner.html' with event=object %} {# {% include 'client/includes/conference/conference_partner.html' with event=object %}#}
{% comment %}
{% if object.paid_new_id and object.paid_new.public %} {% if object.paid_new_id and object.paid_new.public %}
{% include 'client/includes/conference/conference_paid.html' with event=object %} {% include 'client/includes/conference/conference_paid.html' with event=object %}
{% else %} {% else %}
{% include 'client/includes/conference/conference_object.html' with event=object %} {% include 'client/includes/conference/conference_object.html' with event=object %}
{% endif %} {% endif %}
{% endcomment %}
{% endblock %} {% endblock %}
{% block paginator %} {% block paginator %}

Loading…
Cancel
Save