Mercurial > public > madeira
comparison photologue/README.txt @ 71:e2868ad47a1e
For Django 1.4, using the new manage.py.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 14 Apr 2012 16:40:29 -0500 |
parents | madeira/photologue/README.txt@63e4211628e1 |
children |
comparison
equal
deleted
inserted
replaced
70:f26cdda0ad8b | 71:e2868ad47a1e |
---|---|
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 |