├── .gitignore ├── readme.rst ├── content ├── djangotoolbox.rst ├── All Buttons Pressed - CMS & blog for Django-nonrel.rst ├── Managing per-field indexes on App Engine.rst ├── django-autoload.rst ├── django-dbindexer - Expressive NoSQL.rst ├── Django-nonrel - NoSQL support for Django.rst ├── Writing a non-relational Django backend.rst ├── HTML5 offline manifests with django-mediagenerator.rst ├── django-filetransfers - File upload-download abstraction.rst └── djangoappengine - Django App Engine backends (DB, email, etc.).rst ├── index.rst ├── Makefile └── conf.py /.gitignore: -------------------------------------------------------------------------------- 1 | _build 2 | -------------------------------------------------------------------------------- /readme.rst: -------------------------------------------------------------------------------- 1 | This is a placeholder with the original Django Non-rel documentation taken from the All Buttons Pressed Blog. To read it here go to the content/ directory, The _build/ directory has the Sphinx version. 2 | 3 | As of now no editing has been done on the content. So there are numerous references to the blog that are not appropriate (and probably some other stuff as well..) 4 | 5 | I suspect that we will want to put the docs with the project components over time.. we can then pont Sphinx to the right spots.. 6 | -------------------------------------------------------------------------------- /content/djangotoolbox.rst: -------------------------------------------------------------------------------- 1 | Django Toolbox 2 | =============================== 3 | 4 | Small set of useful Django tools. Goals: 1) be usable with non-relational Django backends 2) load no unnecessary code (faster instance startups) 3) provide good coding conventions and tools which have a real impact on your code (no "matter of taste" utilities). 5 | 6 | We'll add some documentation, soon. 7 | 8 | .. raw:: html 9 | 10 | 14 | -------------------------------------------------------------------------------- /index.rst: -------------------------------------------------------------------------------- 1 | .. Django-nonrel documentation master file, created by 2 | sphinx-quickstart on Tue Nov 29 11:54:41 2011. 3 | You can adapt this file completely to your liking, but it should at least 4 | contain the root `toctree` directive. 5 | 6 | Welcome to Django-nonrel 7 | ========================================= 8 | 9 | This is is a compilation of the original documentation provided by Waldemar Kornewald. 10 | 11 | Contents: 12 | 13 | .. toctree:: 14 | :maxdepth: 1 15 | 16 | /content/Django-nonrel - NoSQL support for Django 17 | /content/All Buttons Pressed - CMS & blog for Django-nonrel 18 | /content/djangoappengine - Django App Engine backends (DB, email, etc.) 19 | /content/django-autoload 20 | /content/django-dbindexer - Expressive NoSQL 21 | /content/django-filetransfers - File upload-download abstraction 22 | /content/django-mediagenerator asset manager 23 | /content/djangotoolbox 24 | /content/HTML5 offline manifests with django-mediagenerator 25 | /content/Managing per-field indexes on App Engine 26 | /content/Writing a non-relational Django backend 27 | 28 | Indices and tables 29 | ================== 30 | 31 | * :ref:`genindex` 32 | * :ref:`modindex` 33 | * :ref:`search` 34 | 35 | -------------------------------------------------------------------------------- /content/All Buttons Pressed - CMS & blog for Django-nonrel.rst: -------------------------------------------------------------------------------- 1 | .. toctree:: 2 | :maxdepth: 2 3 | 4 | All Buttons Pressed Blog Sample Project 5 | ================================================ 6 | 7 | This is the the website you're currently looking at. All Buttons Pressed provides a simple "CMS" with support for multiple independent blogs. It's compatible with Django-nonrel_ and the normal SQL-based Django, so you can use it with App Engine, MongoDB, MySQL, PostgreSQL, sqlite, and all other backends that work with either Django or Django-nonrel. Actually the project was started to demonstrate what's possible with Django-nonrel and to give you an impression of how to write code for non-relational databases. 8 | 9 | .. raw:: html 10 | 11 | 16 | 17 | Documentation 18 | ------------------------------------ 19 | 20 | Note: Some parts of the code are explained in the `4 things to know for NoSQL Django coders`_ blog post. 21 | 22 | Before you start you'll need to install Sass_ and Compass_. Then you can just download_ the zip file. Make sure that your App Engine SDK is at least version 1.5.0 prerelease. 23 | 24 | Alternatively, if you want to clone the latest code you'll have to also install django-mediagenerator_. By default, the settings file is configured to use App Engine, so you'll also need djangoappengine_ and all of its dependencies (Django-nonrel_, djangotoolbox_, django-dbindexer_, and django-autoload_). In contrast, on SQL databases you won't need any of those dependencies except for django-mediagenerator_. 25 | 26 | First, create an admin user with ``manage.py createsupeuser``. Then, run ``manage.py runserver`` and go to http://localhost:8000/admin/ and create a few pages and posts. Otherwise you'll only see a 404 error page. 27 | 28 | All Buttons Pressed has a concept called "Block". Blocks can be created and edited via the admin UI. The sidebar's content is defined via a block called "sidebar". 29 | 30 | The menu is defined via a "menu" block where each menu item is in the format ``