Mercurial > public > madeira
comparison mysite/photologue/README.txt @ 1:0dcfcdf50c62
Initial import of Madeira project from the private repository.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 06 Apr 2009 03:10:59 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:df0370bfe3f0 | 1:0dcfcdf50c62 |
---|---|
1 Installation | |
2 | |
3 Step 1 - Download Photologue | |
4 | |
5 Photologue can be downloaded below or from the project page. Older versions are also available from the project page and users who like to live on the edge can checkout a copy of the latest trunk revision. | |
6 | |
7 Step 2 - Add Photologue To Your Project | |
8 | |
9 Copy the entire Photologue application folder (the folder named 'photologue' that contains 'models.py') to a location on your Python path such as your project root. Your project root is typically the directory where your 'settings.py' is found. | |
10 | |
11 Step 3 - Configure Your Settings | |
12 | |
13 Add 'photologue' to your INSTALLED_APPS setting: | |
14 | |
15 INSTALLED_APPS = ( | |
16 # ...other installed applications, | |
17 'photologue', | |
18 ) | |
19 | |
20 Confirm that your MEDIA_ROOT and MEDIA_URL settings are correct. | |
21 | |
22 If you want to tweak things even more you can also over-ride a few default settings (optional, see documentation for more information on the available settings). | |
23 | |
24 Step 4 - Register Photologue with the Django Admin | |
25 | |
26 Add the following to your projects urls.py file: | |
27 | |
28 from django.contrib import admin | |
29 | |
30 admin.autodiscover() | |
31 | |
32 Step 4 - Sync Your Database | |
33 | |
34 Run the 'manage.py syndb' command to create the appropriate tables. After the database in initialized, Photologue will walk you through creating some default models. | |
35 | |
36 Additional documentation available here: | |
37 | |
38 http://code.google.com/p/django-photologue/w/list |