Skip to content

Instantly share code, notes, and snippets.

@64lines
Created November 5, 2013 20:55
Show Gist options
  • Save 64lines/7326093 to your computer and use it in GitHub Desktop.
Save 64lines/7326093 to your computer and use it in GitHub Desktop.
# Paste this into the Python shell:
from customers.models import Client
tenant = Client(domain_url='localhost',
schema_name='public',
name='KME LX',
paid_until='2016-12-05',
on_trial=False)
tenant.save()
tenant = Client(domain_url='ccb.kmelx.com',
schema_name='ccb',
name='CCB',
paid_until='2016-12-05',
on_trial=False)
tenant.save()
# Edit /etc/hosts:
localhost ccb.kmelx.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment