diff --git a/README.rst b/README.rst index 5866ef09..fdc4f8d9 100644 --- a/README.rst +++ b/README.rst @@ -4,6 +4,31 @@ Greenmine Backend Setup development environment. ------------------------------ +You need to install django 1.6,... + +.. code-block:: console + + git clone git://github.com/django/django.git django-trunk + cd django-trunk + git checkout stable/1.6.x + python setup.py install + cd .. + rm -r django-trunk + +... django-reversion for django 1.6 ... + +.. code-block:: console + + git clone https://github.com/etianen/django-reversion.git django-reversion-trunk + cd django-reversion-trunk + git checkout django-1.6 + python setup.py install + cd .. + rm -r django-reversion-trunk + + +...ant then, you must install all the dependencies + .. code-block:: console pip install -r requirements.txt @@ -20,6 +45,7 @@ Polyfills ---------- Django-Rest Framework by default returns 403 for not authenticated requests and permission denied -requests. The file ``greenmine/base/monkey.py`` contains a temporary fix for this bug. +requests. The file ``greenmine/base/monkey.py`` contains a temporary fix for this bug. -This patch is applied when the module ``base.models`` it's loaded. Once it's solved on django rest framework,this patch can be removed. +This patch is applied when the module ``base.models`` it's loaded. Once it's solved on django rest +framework, this patch can be removed. diff --git a/requirements.txt b/requirements.txt index fba766bf..b4b44a31 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,32 +1,34 @@ -git+https://github.com/django/django.git@stable/1.6.x +# We use Django 1.6, +#git+https://github.com/django/django.git@stable/1.6.x +#django-reversion==1.7.1 + Fabric==1.6.0 -Flask==0.9 -South==0.7.6 -Werkzeug==0.8.3 -Whoosh==2.4.1 -amqp==1.0.12 +Flask==0.10.1 +South==0.8.2 +Werkzeug==0.9.4 +Whoosh==2.5.4 +amqp==1.2.1 anyjson==0.3.3 -billiard==2.7.3.31 -celery==3.0.21 -django-celery==3.0.17 -django-filter==0.6 -django-grappelli==2.4.4 +billiard==2.7.3.32 +celery==3.0.23 +django-celery==3.0.23 +django-filter==0.7 +django-grappelli==2.4.6 django-guardian==1.1.0.beta -django-haystack==2.0.0 +django-haystack==2.1.0 django-picklefield==0.3.0 -django-reversion==1.7 -django-sampledatahelper==0.0.1 -djangorestframework==2.3.6 +django-sampledatahelper==0.2 +djangorestframework==2.3.8 gunicorn==17.5 -kombu==2.5.12 +kombu==2.5.14 mimeparse==0.1.3 paramiko==1.10.1 psycopg2==2.5.1 pycrypto==2.6 python-dateutil==2.1 -pytz==2013b -six==1.3.0 -djmail>=0.2 -django-jinja==0.20 -jinja2==2.7 +pytz==2013d +six==1.4.1 +djmail>=0.3 +django-jinja==0.21 +jinja2==2.7.1 pygments==1.6