diff options
author | Jayaram Pai | 2014-05-03 18:22:10 +0530 |
---|---|---|
committer | Jayaram Pai | 2014-05-03 18:22:10 +0530 |
commit | 0a8b9fd4976f5d67c2b9701eb52ac4c6a309eec7 (patch) | |
tree | 98b04670483694ab7a5e6eb044902957eda8b273 /website | |
parent | 0e54a7e22115e1d6437c5be6991a08054dfc052a (diff) | |
download | spoken-tutorial-forums-0a8b9fd4976f5d67c2b9701eb52ac4c6a309eec7.tar.gz spoken-tutorial-forums-0a8b9fd4976f5d67c2b9701eb52ac4c6a309eec7.tar.bz2 spoken-tutorial-forums-0a8b9fd4976f5d67c2b9701eb52ac4c6a309eec7.zip |
added General FOSS category, fixed user-login
Diffstat (limited to 'website')
-rw-r--r-- | website/forms.py | 1 | ||||
-rw-r--r-- | website/views.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/website/forms.py b/website/forms.py index c8f3578..b982d54 100644 --- a/website/forms.py +++ b/website/forms.py @@ -4,6 +4,7 @@ from website.models import * categories = ( ("None", "Select a Category"), + ("General", "General"), ('Advanced-C++', 'Advanced-C++'), ('BASH', 'BASH'), ('Blender', 'Blender'), diff --git a/website/views.py b/website/views.py index 0665b0f..e349daa 100644 --- a/website/views.py +++ b/website/views.py @@ -245,13 +245,11 @@ def new_question(request): question.tutorial, 'http://forums.spoken-tutorial.org/question/'+str(question.id) ) - email = EmailMultiAlternatives( subject,'', 'forums', ['team@spoken-tutorial.org', 'team@fossee.in'], headers={"Content-type":"text/html;charset=iso-8859-1"} ) - email.attach_alternative(message, "text/html") email.send(fail_silently=True) # End of email send |