Skip to content

Latest commit

 

History

History
66 lines (41 loc) · 1.09 KB

README.rst

File metadata and controls

66 lines (41 loc) · 1.09 KB
https://coveralls.io/repos/openwebinars-django/pitble/badge.png https://badge.fury.io/py/pitble.png https://pypip.in/d/pitble/badge.png

Pitble is a python microblog

  • In your settings:
INSTALLED_APPS = (
    ...
    'pitble',
    'bootstrap3',
)


TEMPLATE_CONTEXT_PROCESSORS = (
    ...
    'pitble.context_processors.i18n',

)


MIDDLEWARE_CLASSES = (
    ...
    'django.middleware.locale.LocaleMiddleware',
    'pitble.middleware.LocaleMiddleware',
)

AUTH_USER_MODEL = 'pitble.User'

LOGIN_URL = '/sign-in/'
  • In your urls:
urlpatterns = patterns('',
    ...
    url(r'^', include('pitble.urls')),
)