django-nonrel

Bare with me, this is all work in progress, I write it as I'm working on things...

Coding Django Non-rel on Aptana Eclipse

posted Jun 7, 2011 3:20 AM by Ricardo Escalon   [ updated Jun 7, 2011 5:38 AM ]

  1. Install Aptana v3 - download from the Aptana site
  2. Download google app engine - download from the Google App Engine site
  3. Instal Python 2.5 (I've only managed to find a windows installer for Python 2.5.4 see attachments below)
  4. Install the GAE plugin for Eclipse http://dl.google.com/eclipse/plugin/beta/3.6- howto

How to install the django-dbindexer-test app

posted Jun 3, 2011 9:23 PM by Ricardo Escalon

First things first, do you know how to use HG? 

If you're answer is no you may want to read another article (yet to be written on it) first. You want to be able to update and clone folders as a lot of this open source stuff requires that you keep on updating it.

Follow the steps below


  1. Clone the django-deb-indexer-testapp 
    hg clone https://eldestroyer@bitbucket.org/twanschik/django-dbindexer-testapp
  2. Open the settings file settings.py 
    Look for any modules that you don't have installed and install them
  3. Make sure you have the latest Google Appe Engine SDK for python  
    If you are working with the latest, it has to work with the latest SDK
  4. Run the command "python manage.py runserver"
    If it is running, you win!
Okay, I know these are expert instructions, but I'm trying to learn django-nonrel and can't be writing the detailed instructions.

Creating a simple polls app using django nonrel

posted Jun 3, 2011 9:22 PM by Ricardo Escalon   [ updated Jun 3, 2011 11:54 PM ]

An extremely short summary of the things I learnt from following the tutorial in the doc of the django nonrel
Create an app in your project by running the command:

C:\python manage.py startapp <app name/>

Add the app to your INSTALLED_APPS

To get dbindexer working you have to define a dbindex.py file and create standard look up for it, you don't have to go all the way down to the year

Make sure you uncomment the auth app and you've got the authorisation middleware

Be sure to enter "admin/"

Some of the filters and searches are not supported




1-3 of 3