Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (32 sloc) 1.13 KB
Trac Authentication against Django's userdb
(c) 2011 Ville Korhonen <>
- NB: TracAccountManager plugin is REQUIRED
- NB: Working Django installation is REQUIRED
Loading Django modules fails if DJANGO_SETTINGS_MODULE
environment variable is not set refer to mod_python/
mod_wsgi/tracd/<put your webserver here> manual on how
to set environment variables on your system.
Your Django project should be in PYTHONPATH.
Installing package:
- pip install TracDjangoAuth
- easy_install TracDjangoAuth
- download TracDjangoAuth archive, unzip, python install
OR python bdist_egg and copy dist/*.egg to
plugins -directory inside your Trac environment
Edit trac.ini:
tracdjangoauth.auth_django.djangopasswordstore = enabled
acct_mgr.web_ui.loginmodule = enabled
trac.web.auth.loginmodule = disabled
password_store = DjangoPasswordStore
require_group = Trac ; optional, to which Django group user
; must belong to be authenticated
Something went wrong with that request. Please try again.