Created
September 3, 2015 18:23
-
-
Save mekhami/ab6ffc98a9f78472d286 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
class ServiceForm(forms.Form): | |
name = forms.CharField() | |
class PostgresForm(object): | |
password = forms.PasswordField(default=generated_password_thing()) | |
whatever_other_field = forms.ThatField(default=blah) | |
def validate(self): | |
#custom validation rules | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment