Ticket #11316: 301ab5fb6095ef19c1c0cb12a3879e597d2317ee.diff
File 301ab5fb6095ef19c1c0cb12a3879e597d2317ee.diff, 562 bytes (added by , 15 years ago) |
---|
-
django/db/backends/creation.py
diff --git a/django/db/backends/creation.py b/django/db/backends/creation.py index 53874f9..4cbb41a 100644
a b class BaseDatabaseCreation(object): 27 27 28 28 def _digest(self, *args): 29 29 "Generate a 32 bit digest of a set of arguments that can be used to shorten identifying names" 30 return '%x' % (abs(hash(args)) % ( 1<<32))30 return '%x' % (abs(hash(args)) % (4294967296L)) 31 31 32 32 def sql_create_model(self, model, style, known_models=set()): 33 33 """