Skip to content

Instantly share code, notes, and snippets.

@molokov
molokov / gandssanta.py
Created September 16, 2015 22:57
Geek & Sundry Secret Santa
#!/usr/bin/env python
import copy
import random
import pprint
nice_list = [
# People's names/usernames go here
]

Keybase proof

I hereby claim:

  • I am molokov on github.
  • I am molokov (https://keybase.io/molokov) on keybase.
  • I have a public key whose fingerprint is F481 96DE 2F9F 805B CDCF B13B 0995 839B F66F AE64

To claim this, I am signing this object:

@molokov
molokov / admin.py
Last active November 3, 2016 23:29
Mezzanine/Cartridge Shipping Rules
# ...
from cartridge.shop.models import ShippingRule
# For ProductVariationAdmin, add weight, pickup_available and shipping_available
# to the variation_fieldsets so you can edit them for each product variation
# ...
##################
# SHIPPING RULES #