couchdbkit
couchdbkit copied to clipboard
couchdbkit.ext.django.schema thows import error with Django 1.7
trafficstars
couchdbkit.ext.django.schema thows import error because get_verbose method is removed from django.db.models.options
fix: remove
from django.db.models.options import get_verbose_name
and include get_verbose_name from previous Django version
# Calculate the verbose_name by converting from InitialCaps to "lowercase with spaces".
get_verbose_name = lambda class_name: re.sub('(((?<=[a-z])[A-Z])|([A-Z](?![A-Z]|$)))', ' \\1', class_name).lower().strip()
I get this error as well
Me too
Having the same issue
time for a new release of couchdbkit then :) I will have a look next week/
PR #185 already fixes this issue. Any news on this?