Skip to content

Instantly share code, notes, and snippets.

@gpbmike
Forked from andymccurdy/gist:2052609
Created March 16, 2012 21:02
Show Gist options
  • Save gpbmike/2052675 to your computer and use it in GitHub Desktop.
Save gpbmike/2052675 to your computer and use it in GitHub Desktop.
import datetime
import scout.recon.register
from django.contrib.auth.models import User
u = User.objects.get(username='')
u.profile['plan_id'] = 2
u.profile['next_billing_date'] = datetime.date(2012, 9, 1)
u.save()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment