sunlightlabs / django-locksmith

django utilities for shared api authentication & log aggregation
BSD 3-Clause "New" or "Revised" License
27 stars 5 forks source link

Complications due to EmailField width handling #6

Open dvogel opened 11 years ago

dvogel commented 11 years ago

MySQL silently truncates character fields while PostgreSQL raises a DatabaseError exception. Since the key is queued for replication without a round trip to the database, this can cause problems for api servers using PostgreSQL while syncing with a hub that uses MySQL.