Skip to content

Commit

Permalink
Refactoring and bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nesdis committed Oct 7, 2017
1 parent 0240b09 commit ce3a19d
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 3 deletions.
3 changes: 1 addition & 2 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ djongo\introspection.py
djongo\models.py
djongo\operations.py
djongo\schema.py
djongo\sql_parse.py
djongo\untitled-1.py
djongo\sql2mongo.py
44 changes: 43 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,49 @@
from distutils.core import setup

LONG_DESCRIPTION = """
djongo
Driver for allowing Django to use MongoDB as the database backend.
Use Mongodb as a backend database for your django project, without changing a single django model!!!
Usage:
pip install djongo
Into settings.py file of your project, add:
```
DATABASES = {
'default': {
'ENGINE': 'djongo',
'NAME': 'your-db-name',
}
}
```
Run manage.py migrate(ONLY the first time to create collections in mongoDB)
YOUR ARE SET! HAVE FUN!
Requirements:
1. djongo requires python 3.5 or above.
How it works:
djongo is a SQL to mongodb query compiler. It translates a SQL query string into a mongoDB query document. As a result, all Django features, models etc work as is.
Django contrib modules:
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.sessions',
and others... fully supported.
Full Documentation: 'https://nesdis.github.io/djongo/'
"""
setup(
name='djongo',
version='1.2.3',
version='1.2.4',
packages=['djongo'],
url='https://nesdis.github.io/djongo/',
license='BSD',
Expand All @@ -14,5 +55,6 @@
'pymongo>=3.2.0',
'django>=1.8'
],
long_description=LONG_DESCRIPTION,
python_requires='>=3.5'
)

0 comments on commit ce3a19d

Please sign in to comment.