codehosting - 1.2
Django app for hosting code projects
This django application is intended to assist developers who want to host releases of their own projects, instead of relying on SourceForge. Using the django admin interface, one creates "projects" and "releases" of those projects. Projects may consist of source/binary releases, or may refer to an externally hosted site for web services where code is not released.
Fix the code structure and add sitemaps support.
Latest release: Sun Dec 31 17:50:30 2006
Changelog
2006-12-31 Doug Hellmann <dhellmann@racemi.com>
- templatetags/codehosting_tags.py (release_history): Limit the
release history to the 5 most recent releases.
- views.py (project_detail): Use the new convenience method
current_release().
- models.py (Project.current_release): Add a convenience method to
retrieve the most current release for a given project.
- sitemaps.py (ProjectSitemap): Add sitemap.xml generation. This
requires the django.contrib.sitemaps app, but only if you actually want to use it.
- templates/project_list.html: Update the load tag to pull in the
template tags.
- templates/project_detail.html: Update the load tag to pull in
the template tags.
- templatetags/codehosting_tags.py: Rename this module to be
consistent with the app name.
- templatetags/project_release_tags.py (release_history): Do not
require a project argument.
- templates/project_release_history.html: The tag may not get a
project if the user wants a list of all project releases.
- templates/project_list_tag.html: Use get_absolute_url to
generate URLs.
- templates/project_list.html: Use absolute_url to generate
links. Use the release_history tag.
- models.py (Project.get_absolute_url): Use the setting
CODEHOSTING_URL_PREFIX to tell us how to generate absolute URLs to projects and releases.