django-cassandra-engine: Django admin not working with cassandra db engine

Hello,

with cassandra as the only db engine and django 1.9 on python 3.5, I have the following error when accessing django_admin:

NotImplementedError at /admin/login/ subclasses of BaseDatabaseOperations may require a quote_name() method

if I add that method to operations.py, I have another bug in init.py in getattr: raise AttributeError(attr) … with attr=‘operators’

Isn’t the cassandra engine supposed to work with django-admin?

Thank you!

About this issue

  • Original URL
  • State: open
  • Created 8 years ago
  • Comments: 16 (3 by maintainers)

Most upvoted comments

Hi,

I have tried to create a super user for Cassandra django admin. However, I am getting the same NotImplementedError. The error says "NotImplementedError : Method not available on Cassandra model fields

I am using python version 2.7.13 and django version 1.10.5

is createsuperuser working now??

any updates on the ccreatesuperuser ?

Please try now. Make sure that all your cassandra models inherit from django_cassandra_engine.models.DjangoCassandraModel.