Code cleaning on slug.py

remotes/origin/enhancement/email-actions
Andrey Antukh 2013-03-28 11:57:59 +01:00
parent a6a41bc1d6
commit 1a052a080c
1 changed files with 0 additions and 1 deletions

View File

@ -29,7 +29,6 @@ def ref_uniquely(p, seq_field, model, field='ref'):
Returns a unique reference code based on base64 and time.
"""
project = p.__class__.objects.select_for_update().get(pk=p.pk)
ref = getattr(project, seq_field) + 1
while True: