Code Monkey home page Code Monkey logo

ajax-signup-django's Introduction

ajaxsigniing

ajaxsigniing is a simple Django app that helps to validate the username field in a sign up view, as soon as the user finish typing the desired username.

Detailed documentation is in the "docs" directory.

Quick start

  1. Clone the repostoritory
  2. change directory to cloned repo
  3. Run cd dist
  4. Run dir or pwd to get your current working directory you should see:
    Directory of :////django-ajaxsignup/dist <<<<COPY YOUR WORKING DIRECTORY

11/28/2019 05:35 PM <DIR> . 11/28/2019 05:35 PM <DIR> .. 11/28/2019 05:35 PM 4,462 django-ajaxsignup-0.1.tar.gz

1 File(s) 4,462 bytes 2 Dir(s) 617,194,110,976 bytes free
  1. open your application in the command,activate your virtual environment and RUN:

    pip install <copied dir from step 4>/django-ajaxsignup-0.1.tar.gz

    i.e:

    pip install :////django-ajaxsignup/dist/django-ajaxsignup-0.1.tar.gz

  2. Add "ajaxsigniing" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'ajaxsigniing',
    ]
    
  3. Include the polls URLconf in your project urls.py like this:

    path('signup/',include('ajaxsigniing.urls')),
    
  4. Run python manage.py migrate to create the ajaxsigniing models.

  5. Start the development server and visit http://127.0.0.1:8000/signup/signup

TEMPLATE TAG USAGE

Add the below template tag to your signup template:

{% load custom_tags %}

{% sign_up %}

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.