This project is a password generator developed using Django and Django Unicorn. Django Unicorn is a framework for creating interactive web applications in Django, which allows you to easily add dynamic elements to your pages without the need to write JavaScript.
- Password Generation: Users can generate random passwords with various parameters such as password length, use of digits, letters, and special characters.
- Interactivity: Thanks to Django Unicorn, users can customize the password generation parameters and see the result instantly without page reload.
- Ease of Use: The project interface is intuitive and easy to configure.
- Python 3.12+
- Django 5.1+
- Django Unicorn
-
Clone the repository:
git clone git@github.com:hydrospirt/unicorn_pass.git cd unicorn_pass -
Create a virtual environment and activate it:
python3 -m venv venv source venv/bin/activate # For Linux/MacOS venv\Scripts\activate # For Windows
-
Install dependencies:
pip install -r requirements.txt
-
Apply migrations:
python manage.py makemigrations python manage.py migrate
-
Create a .env file:
touch .env # Write the following into it: DEBUG=True # False for production server ALLOWED_HOSTS=127.0.0.1,localhost SECRET_KEY=django-insecure-hib515um%xfvyne7gy-ll+=0uajnrx@n6ih+4rrq1)zvu1o!!v # example
-
Run the development server:
python manage.py runserver
-
Open your browser and go to
http://127.0.0.1:8000/to access the password generator.
This project is distributed under the MIT license. See the LICENSE file for details.
If you have any questions or suggestions, please feel free to contact me.
Thank you for using our password generator! We hope it will be useful for you.

