Skip to content

Instantly share code, notes, and snippets.

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