Created
August 27, 2015 18:49
-
-
Save mekhami/3bcfe64ec860539dd38c 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 ServiceType(object): | |
name = None | |
slug = slugify(name) if name else None | |
form = None | |
service_type_template = 'service_type_template' | |
service_template = 'service_template' | |
def __str__(self): | |
return name | |
def __init__(self): | |
if not name and form and service_template and service_type_template: | |
raise NotImplementedError | |
class PostgresType(object): | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment