Skip to content

Instantly share code, notes, and snippets.

@mekhami
Created August 27, 2015 18:49
Show Gist options
  • Save mekhami/3bcfe64ec860539dd38c to your computer and use it in GitHub Desktop.
Save mekhami/3bcfe64ec860539dd38c to your computer and use it in GitHub Desktop.
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