Skip to content

Instantly share code, notes, and snippets.

@andymccurdy
Created March 16, 2012 20:51
Show Gist options
  • Save andymccurdy/2052609 to your computer and use it in GitHub Desktop.
Save andymccurdy/2052609 to your computer and use it in GitHub Desktop.
YOUR_USERNAME = 'andy'
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