A simple Django web application to generate QR codes for restaurant menus. Users can enter a restaurant name and menu URL, and the app generates a QR code image for sharing or printing.
- Input restaurant name and menu URL
- Generates QR code image
- Displays QR code in browser
- Download QR code image
- Python 3.10+
- Django
- Pillow (for image handling)
- qrcode (for QR code generation)
- Clone the repository:
git clone https://github.com/nikeshh-x/QR_Code_Generator.git cd QR_Code_Generator - Create and activate a virtual environment:
python -m venv venv venv\Scripts\activate # On Windows
- Install dependencies:
If
pip install -r requirements.txt
requirements.txtis missing, install manually:pip install django pillow qrcode
- Run migrations:
python manage.py migrate
- Start the development server:
python manage.py runserver
- Open your browser and go to
http://localhost:8000
- Fill in the restaurant name and menu URL in the form.
- Click "Generate QR Code".
- The QR code will be displayed and can be downloaded.
qr_code_django/
├── manage.py
├── db.sqlite3
├── cred.txt
├── django_qr/
│ ├── __init__.py
│ ├── asgi.py
│ ├── forms.py
│ ├── settings.py
│ ├── urls.py
│ ├── views.py
│ ├── wsgi.py
├── templates/
│ ├── generate_qr_code.html
│ ├── qr_result.html
This project is licensed under the MIT License.