projects
/
oweals
/
karmaworld.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Move to html2text
[oweals/karmaworld.git]
/
karmaworld
/
apps
/
courses
/
forms.py
1
#!/usr/bin/env python
2
# -*- coding:utf8 -*-
3
# Copyright (C) 2012 FinalsClub Foundation
4
5
from django.forms import ModelForm
6
7
from karmaworld.apps.courses.models import Course
8
9
class CourseForm(ModelForm):
10
class Meta:
11
model = Course
12
fields = ('name', 'school', 'desc', 'url', 'instructor_name', \
13
'instructor_email')
14