Simple article management for the Django web framework.
Offical releases are available from http://pypi.python.org/pypi
easy_install django-pressroomThe current development version of Pressroom can be checked out via Subversion from the project site using the following command:
git clone https://github.com/mthornhill/django-pressroom.gitIf you wish to contribute to pressroom, here is how to set up your development environment
cd django-pressroom
virtualenv . --no-site-packages
source bin/activate
python bootstrap.py
bin/buildout -v
bin/django syncdb
bin/django runscript load_data -v2
bin/django runserverbrowse to http://localhost:8000/
Add 'pressroom' to your INSTALLED_APPS setting:
INSTALLED_APPS = (
# ...other installed applications,
'photologue',
'pressroom',
'tastypie',
)Confirm that your MEDIA_ROOT, MEDIA_URL, STATIC_ROOT, STATIC_URL settings are correct.
Run the Django syncdb command to create the appropriate tables.
To use the included pressroom templates and views you need to first add pressroom to your projects urls.py file. Note: django-photologue (http://code.google.com/p/django-photologue/) is a dependancy of pressroom Note: django-tastypie is a dependancy of pressroom
# urls.py:
urlpatterns += patterns('',
(r'^admin/(.*)', admin.site.root),
(r'^pressroom/', include('pressroom.urls')),
(r'^photologue/', include('photologue.urls')),
)