Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Hi! I cleaned up your code for you! #29

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
View
@@ -96,7 +96,7 @@ For example, your script might light like this if you need to update all your
product codes on next release::
from store.models import Product
-
+
def migrate():
for product in Product.objects.all():
product.code = "NEW-%s" % product.code