cciw-website /

Filename Size Date modified Message
cciw
media
migrate
scripts
templates
websitedown
94 B
ENV
230 B
1.2 KB
1.5 KB
7.5 KB
532 B
415 B
This code is not intended to be an out of the box solution for anyone -- it
is a snapshot of the source code of the CCIW website made available simply
for those who wish to browse the source (or copy it under a BSD license).  I
don't have the time to support anything here (apart from the 'validator' app
which happens to be included but is distributed separately), so you are
completely on your own in terms of working things out!

Nor is it meant to be 'best practice' Django -- Django has changed
since the project has started, and I don't claim to be the world's
greatest Python/Django programmer anyway.

It also doesn't include various bit and pieces that would not have
been useful to other people e.g. my database migration scripts and
various media files.

GenericRelations
----------------
I rolled my own because Django at the time didn't have any functionality for
this.  Some of my code made it's way into Django's implementation, but it
isn't compatible AFAIK.

Tagging 
------- 
The project `django-tagging' (http://code.google.com/p/django-tagging/ )
didn't exist when I wrote this -- I imagine that you would be much better
off using that project than my implementation.

URLS
----
You should be using the {{ url }} tag instead of hard coding URLs as I have
done -- Adrian wrote RegexURLResolver after I wrote this.

Luke

INSTALLATION HINTS
==================
- You need to have the unpacked directory in your Python path somewhere
- You need to create a settings_private.py file (should be obvious if you
  try to run it)
- Additional dependencies:
	p3.py
	
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.