NB: This is not the latest revision. For the latest view, go to tip.

View at rev
django-hgwebproxy /
filename size last modified message
docs  
example  
hgwebproxy  
.hgtags 47 B 8 months ago Release for basic usage
AUTHORS 142 B 8 months ago Added app configurations and some details on docs and…
LICENSE 661 B 8 months ago Added license
MANIFEST.in 141 B 8 months ago Fixing missing template dir on install
README 229 B 8 months ago Added app configurations and some details on docs and…
rpm-install.sh 804 B 8 months ago Better setuptool distribution
setup.cfg 92 B 8 months ago Better setuptool distribution
setup.py 3.6 KB 8 months ago Added app configurations and some details on docs and…

README

django-hgwebproxy is a django application which provides a version of mercurials hgwebdir interface in which mercurial users and repositories can be managed through Django's admin interface. Users are authenticated using django's auth application and push/pull permissions can be assigned on a per-repository basis.

Requirements

You will need django's auth module to use django-hgwebproxy. 'django.contrib.auth' and it's dependencies must be installed in your django project.

Installation

Installation can be done using easy_install or pip.:

easy_install django-hgwebproxy

You can install the development version direcly from bitbucket as well:

pip install -e hg+https://bitbucket.org/mariocesar/django-hgwebproxy/

After installing you will need to perform the following steps.

  • Add 'hgwebproxy' to your INSTALLED_APPS

  • Add hgwebproxy urls to urls.py:

    urlpatterns = patterns('',
        (r'^hg/', include('hgwebproxy.urls')),
    )
    
  • Run syncdb:

    python manage.py syncdb
    

Testing

Tests can be run without first creating a django project. Simply run tests as you normally would for any python library. django-hgwebproxy's tests set up the django environment for you:

python setup.py test

AUTHORS

Authors in the order they were added to the file.