Skip to content

Instantly share code, notes, and snippets.

View roopesh90's full-sized avatar
🔥
Working from home

Roopesh Nair roopesh90

🔥
Working from home
View GitHub Profile
@roopesh90
roopesh90 / common [stash] fields.py
Last active August 29, 2015 14:16 — forked from stodge/common [stash] fields.py
Updated version of Django BigInt Patch for 64bit Primary Keys for Django 1.7
"""
module mydjangolib.bigint_patch
A fix for the rather well-known ticket #399 in the django project.
Create and link to auto-incrementing primary keys of type bigint without
having to reload the model instance after saving it to get the ID set in
the instance.
Logs: