Created
November 5, 2013 20:55
-
-
Save 64lines/7326093 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
# 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