Django-cassandra-engine

in #utopian-io7 years ago (edited)

About the project

Django-cassandra-engine is almost 4 years old Open Source project of the Django app that adds support to Cassandra database backend.

It provides all tools you need to start your journey with Apache Cassandra and Django Framework:

  • integration with latest cassandra-driver and optionally cassandra-driver-dse from Datastax
  • working flush, migrate, sync_cassandra, inspectdb and dbshell commands
  • support for creating/destroying test database
  • automatic connection/disconnection handling
  • storing sessions in Cassandra
  • working Django forms
  • usable admin panel with Cassandra models

Setup

  • Add django_cassandra_engine to INSTALLED_APPS in your settings.py file:

    INSTALLED_APPS = ('django_cassandra_engine',) + INSTALLED_APPS
    
  • Change DATABASES setting:

     DATABASES = {
         'default': {
             'ENGINE': 'django_cassandra_engine',
             'NAME': 'db',
             'TEST_NAME': 'test_db',
             'HOST': 'db1.example.com,db2.example.com',
             'OPTIONS': {
                 'replication': {
                     'strategy_class': 'SimpleStrategy',
                     'replication_factor': 1
                 }
             }
         }
     }
    

Project page is located here: https://github.com/r4fek/django-cassandra-engine
Documentation: https://r4fek.github.io/django-cassandra-engine/

Screen Shot 2017-11-17 at 21.03.55.png



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Congratulations @rafek! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You published your First Post
Happy Birthday - 1 Year on Steemit You got a First Vote

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Thank you for the submission.
Are you the creator of this project? if so please provide proof of work and confirmation that you are the owner. Please check the rules to see how to do so.


You can contact us on Discord
For posting rules, check Rules
[utopian-moderator]

Yes, I'm the author. Screenshot with proof uploaded.

Thank you for your contribution. It has been approved.


You can contact us on Discord
For posting rules, check Rules
[utopian-moderator]

Congratulations @rafek! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You made your First Comment

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Hey @rafek I am @utopian-io. I have just upvoted you at 3% Power!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • This is your first accepted contribution here in Utopian. Welcome!

Suggestions

  • Work on your followers to increase the votes/rewards. My vote is now primarily based on that, humans rule. Good luck!
  • Wondering why other contributions got more? I introduced a competition factor. My vote is also based on how competitive the category used is.

Did you know?

  • I am going to become the first Steem Community-Driven Witness. Follow me to know when!
    Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Congratulations @rafek! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You got your First payout
Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Congratulations @rafek! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 3 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!