GithubHelp home page GithubHelp logo

envobe / nirvaris-profile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from somair/nirvaris-profile

0.0 2.0 0.0 12.56 MB

A simple Django app for login and user profile

License: MIT License

Python 33.09% CSS 20.41% HTML 8.71% JavaScript 37.80%

nirvaris-profile's Introduction

#Nirvaris Profile

A simple Django app to create a user profile using Django authentication. The app has custom interface for sign in, register, forgot password, activation, edit user details and so.

It uses the follow dependecies from Nirvaris:

#Quick start

  • Django admin must be installed, of course, and you have to run migrate. The app itself does not have any models.

  • You can use pip from git to install it. A requirements file is provided with some dependencies.

pip install git+https://github.com/nirvaris/nirvaris-profile

  • Add the n_profile, and its dependencies, to your INSTALLED_APPS:
    INSTALLED_APPS = (
        ...
        'n_profile',
        'themedefault',
    )
EMAIL_HOST = ''
EMAIL_PORT = 465
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_USE_TLS = True
LOGIN_URL = 'login'
LOGOUT_URL = 'logout'
  • Some Nirvaris specific variables to your settings
NV_SITE_URL = 'http://localhost:8000/' # used to assemble the activation link
NV_AFTER_LOGIN_URL = 'profile-dashboard' # Or your own after login page
NV_MAX_TOKEN_DAYS = 10 # The limit in days for the activation email to be expired
NV_EMAIL_FROM = '' # The from email the app will send emails out
NV_SECRET_KEY = '' # This key is used by the crypto module to encrypt and decrypt the activation token.
  • you have to add the url to your urls file:
url(r'^profile/', include('n_profile.urls')),
  • The app's urls are:
<your-project-url>/profile/register
<your-project-url>/profile/resend-activation-email
<your-project-url>/profile/activation  #this one expect a parameter P with the activation token
<your-project-url>/profile/login
<your-project-url>/profile/forgot-password
<your-project-url>/profile/profile-dashboard
<your-project-url>/profile/logout
<your-project-url>/profile/change-password
<your-project-url>/profile/change-user-details

nirvaris-profile's People

Contributors

julianobinder avatar cristianokr avatar

Watchers

James Cloos avatar \\:envobe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.