Skip to content

Commit

Permalink
Merge pull request #3 from gmh04/master
Browse files Browse the repository at this point in the history
get contact plugins working for django-cms 2.1.0
  • Loading branch information
mitar committed Jul 28, 2011
2 parents 0a74403 + 0a1f101 commit a3cd744
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Empty file added __init__.py
Empty file.
3 changes: 2 additions & 1 deletion contact/forms.py
@@ -1,6 +1,7 @@
from django import forms
from django.core.mail import EmailMessage

from django.template.loader import render_to_string

class ContactForm(forms.Form):
email = forms.EmailField()
subject = forms.CharField()
Expand Down
2 changes: 1 addition & 1 deletion contact/templates/contact.html
@@ -1,5 +1,5 @@
{% if form %}
<form action='' method="POST">
<form action='' method="POST">{% csrf_token %}
<ul>
<li>
<label>{{ contact.email_label }}</label>
Expand Down

0 comments on commit a3cd744

Please sign in to comment.