Skip to content

Commit 42c1307

Browse files
committed
1 parent 01e90d6 commit 42c1307

30 files changed

+54
-2621
lines changed

AUTHORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
Flavio Percoco Premoli <[email protected]>
22
Alberto Paro <[email protected]>
3+
Jonas Haag <[email protected]>
4+
George Karpenkov <[email protected]>

README.rst

Lines changed: 24 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,33 @@
1-
========================
2-
Django MongoDB Engine
3-
========================
4-
:Version: 0.1.1
5-
:Info: It's a database backend that adds mongodb support to django
6-
:Author: Flavio [FlaPer87] Percoco Premoli (http://github.com/FlaPer87) and Alberto [aparo] Paro (http://github.com/aparo)
7-
:Web: http://github.com/FlaPer87/django-mongodb-engine/
1+
==============
2+
IMPORTANT NOTE
3+
==============
4+
django-mongodb-engine has been moved to http://github.com/django-mongodb-engine/mongodb-engine
5+
6+
I'll keep this repo up to date.
7+
8+
=========================================
9+
Django MongoDB Engine for django-nonrel
10+
=========================================
11+
:Web: http://github.com/django-mongodb-engine/mongodb-engine/
12+
:Mailing List: http://groups.google.com/group/django-non-relational
13+
:Bug tracker: http://github.com/django-mongodb-engine/mongodb-engine/issues/
14+
:License: 2-clause BSD
815
:Download: http://pypi.python.org/pypi/django_mongodb_engine/
9-
:Source: http://github.com/FlaPer87/django-mongodb-engine/
1016
:Keywords: django, mongodb, orm, nosql, database, python
1117

1218
Requirements
1319
============
20+
* MongoDB of course ;-)
21+
* PyMongo (PyPI)
22+
* `Django-nonrel`_
23+
* `djangotoolbox`_
1424

15-
- Django non rel http://github.com/aparo/django-nonrel
16-
- Djangotoolbox http://github.com/aparo/djangotoolbox or http://bitbucket.org/wkornewald/djangotoolbox
17-
18-
Infographics
19-
============
20-
::
21-
22-
- Django Nonrel branch
23-
- Manager
24-
- Compiler (MongoDB Engine one)
25-
- MongoDB
26-
27-
django-mongodb-engine uses the new django1.2 multi-database support and sets to the model the database using the "django_mongodb_engine.mongodb".
28-
29-
Examples
30-
========
31-
For detailed examples see: (http://github.com/FlaPer87/django-mongodb-engine/tree/master/tests/testproj/)
32-
::
33-
34-
class Person(models.Model):
35-
name = models.CharField(max_length=20)
36-
surname = models.CharField(max_length=20)
37-
age = models.IntegerField(null=True, blank=True)
38-
39-
def __unicode__(self):
40-
return u"Person: %s %s" % (self.name, self.surname)
41-
42-
>> p, created = Person.objects.get_or_create(name="John", defaults={'surname' : 'Doe'})
43-
>> print created
44-
True
45-
>> p.age = 22
46-
>> p.save()
47-
48-
=== Querying ===
49-
>> p = Person.objects.get(name__istartswith="JOH", age=22)
50-
>> p.pk
51-
u'4bd212d9ccdec2510f000000'
52-
53-
54-
Bug tracker
55-
===========
56-
57-
If you have any suggestions, bug reports or annoyances please report them
58-
to our issue tracker at http://github.com/FlaPer87/django-mongodb-engine/issues/
59-
60-
Wiki
61-
====
62-
63-
http://wiki.github.com/FlaPer87/django-mongodb-engine/
25+
.. _Django-nonrel: http://bitbucket.org/wkornewald/django-nonrel
26+
.. _djangotoolbox: http://bitbucket.org/wkornedwald/djangotoolbox
6427

6528
Contributing
6629
============
67-
68-
Development of ``django-mongodb-engine`` happens at Github: http://github.com/FlaPer87/django-mongodb-engine/
69-
70-
You are highly encouraged to participate in the development
71-
of ``django-mongodb-engine``. If you don't like Github (for some reason) you're welcome
72-
to send regular patches.
73-
74-
License
75-
=======
76-
77-
This software is licensed under the ``New BSD License``. See the ``LICENSE``
78-
file in the top distribution directory for the full license text.
79-
80-
.. # vim: syntax=rst expandtab tabstop=4 shiftwidth=4 shiftround
30+
You are highly encouraged to participate in the development, simply use
31+
GitHub's fork/pull request system.
32+
If you don't like GitHub (for some reason) you're welcome
33+
to send regular patches to the mailing list.

__pkginfo__.py

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,20 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
3-
import os
43
import codecs
54
import django_mongodb_engine as distmeta
65

7-
distname = 'django_mongodb_engine'
8-
9-
numversion = (0, 1, 1)
10-
version = distmeta.__version__
11-
12-
install_requires = ['pymongo', 'django>=1.2', 'djangotoolbox']
13-
14-
pyversions = ["2", "2.4", "2.5", '2.6', '2.7']
15-
16-
license = 'GPLv2'
17-
18-
author = distmeta.__author__
6+
distname = 'django-mongodb-engine'
7+
numversion = distmeta.__version__
8+
version = '.'.join(map(str, numversion))
9+
license = '2-clause BSD'
10+
author = distmeta.__author__
1911
author_email = distmeta.__contact__
2012
web = distmeta.__homepage__
21-
docformat = distmeta.__docformat__
2213

2314
short_desc = "A MongoDB backend standing outside django."
15+
long_desc = codecs.open('README.rst', 'r', 'utf-8').read()
2416

25-
if os.path.exists("README.rst"):
26-
long_desc = codecs.open("README.rst", "r", "utf-8").read()
27-
else:
28-
long_desc = "See http://pypi.python.org/pypi/django_mongodb_engine/"
29-
30-
31-
from os.path import join
17+
install_requires = ['pymongo', 'django>=1.2', 'djangotoolbox']
18+
pyversions = ['2', '2.4', '2.5', '2.6', '2.7']
19+
docformat = distmeta.__docformat__
3220
include_dirs = []

django_mongodb_engine/models.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

django_mongodb_engine/mongodb/__init__.py

Lines changed: 0 additions & 9 deletions
This file was deleted.

django_mongodb_engine/mongodb/base.py

Lines changed: 0 additions & 111 deletions
This file was deleted.

django_mongodb_engine/mongodb/client.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)