Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D django-rutoken
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • github-mirror
  • django-rutoken
  • Wiki
  • Home

Home · Changes

Page history
Updated Home (markdown => creole) authored Jun 04, 2013 by Sergey's avatar Sergey
Hide whitespace changes
Inline Side-by-side
Showing with 40 additions and 0 deletions
+40 -0
  • Home.creole Home.creole +40 -0
  • No files found.
Home.creole 0 → 100644
View page @ d9140ac4
Django-приложение для взаимодействия со средством криптографической защиты [Рутокен ЭЦП](http://www.rutoken.ru/products/rutokends/).
Инструкции по применению.
1. Скачать и положить в директорию с проектом django.
2. В файл настроек (settings.py) вашего проекта импортировать настройки (settings.py) rutoken.
{{{
USE_RUTOKEN = True
# USE_RUTOKEN = False
if USE_RUTOKEN:
from rutoken.settings import *
}}}
3. Исправить переменные rutoken.settings.
Обратить внимание на AUTHENTICATION_BACKENDS
4. Подправить файл проекта urls.py
{{{
в urlpatterns =( ...
url(r'^rutoken/', include(rutoken.urls))
...
)
}}}
{{{
if settings.USE_RUTOKEN:
logger_mongo = logging.getLogger('registry_mongo')
urlpatterns += patterns('',
url(
r'^login/$',
rutoken_login,
{'template_name': 'rutoken/login.html', 'extra_context': {'title': u'Вход в МедЦентр'}, 'logger': logger_mongo}
),
)
else:
urlpatterns += patterns('',
url(r'^login/$', django.contrib.auth.views.login, {'template_name': 'lmk/login.html'}),
}}}
Clone repository
  • Home
  • Заметки
  • Описание каталога pki_ca