Created
June 17, 2015 10:54
-
-
Save MickaelCruzDB/b2dc4b0a063d7faf4fe9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django import forms | |
TABLE_CAT = ( | |
(GASOLINE_ENGINES, 'Gasoline Engines'), | |
(DIESEL_ENGINES, 'Diesel Engines'), | |
(EXHAUST_AFTERTREATMENT, 'Exhaust Aftertreatment'), | |
(ELECTRIFICATION, 'Electrification'), | |
(DRIVETRAIN_EFFICIENCY, 'Drivetrain Effieciency'), | |
) | |
class TableCatForm(forms.Form): | |
table_category = forms.MultipleChoiceField(choices=TABLE_CAT) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment