Skip to main content

A user app that introduce simple sign-in and sign-up.

Project description

django-user
-----------
1. django-admin.py startproject project
2. Configure your database in your settings file:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'project.db',
}
}

3. Install the package to your python site-packages folder or just use it as a module in your project.
4. Add 'user' to INSTALLED_APPS in your settings file.
5. Add 'django.contrib.admin' to INSTALLED_APPS in your settings file.
6. Configure yourt settings file further:
TEMPLATE_CONTEXT_PROCESSORS = (
'django.contrib.auth.context_processors.auth',
'django.core.context_processors.request',
'django.core.context_processors.static',
'django.contrib.messages.context_processors.messages'
)
7. In settings.py remember to configure LOGIN_URL
8. python manage.py syncdb --settings=project.settings
9. In your projects urls add the following code:
from django.contrib import admin
admin.autodiscover()

from user import urls as user_urls

urlpatterns = patterns('',
...
url(r'^', include(user_urls)),
url(r'^admin/', include(admin.site.urls)),
...
)

10. python manage.py runserver --settings=project.settings
11. http://127.0.0.1:8000/sign-in
12. Django 1.5.1 compatible
13. Works well with django-poll.

Changelog:
----------
0.0.2
Bootstrap implemented
Nice feature design
More navigation

0.0.3
Profile and Sign Out processes

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-user-0.0.3.tar.bz2 (5.4 kB view details)

Uploaded Source

File details

Details for the file django-user-0.0.3.tar.bz2.

File metadata

  • Download URL: django-user-0.0.3.tar.bz2
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-user-0.0.3.tar.bz2
Algorithm Hash digest
SHA256 1a8d2547c7a7f0678d8c620c94e1743ee8474a31db398ad983724df6c9adbc6a
MD5 7cf28788551f71d37e0a480d591d932b
BLAKE2b-256 215d7be8a8ab4ef95f26a5b49cb74f5701088881c5b49d2f80c80bc70dd72480

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page