Skip to content

CodeLess-Django (python package) is a powerful Django tool that lets you build Django apps, models, fields, and APIs using a graphical interface—without writing repetitive boilerplate code. It's ideal for rapid prototyping, educational projects, and accelerating development.

Notifications You must be signed in to change notification settings

omariut/codeless-django

Repository files navigation

CodeLess-Django

CodeLess-Django is a powerful Django tool that lets you build Django apps, models, fields, and APIs using a graphical interface—without writing repetitive boilerplate code. It's ideal for rapid prototyping, educational projects, and accelerating development.


✨ Features

  • Create Django apps via UI
  • Add models and fields dynamically
  • Supports API Views and Template Views
  • Auto-handles INSTALLED_APPS, serializers, views, and URLs
  • Modern, responsive interface

📦 Installation

Install CodeLess-Django with pip:

pip install codeless-django

⚙️ Quick Start

  1. Add to your INSTALLED_APPS:
# settings.py
INSTALLED_APPS = [
    ...
    'codeless_django',
]
  1. Include URLs in your project:
# urls.py
from django.urls import path, include

urlpatterns = [
    ...
    path('codeless-django/', include('codeless_django.urls')),
]
  1. Run the development server:
python manage.py runserver
  1. Visit: http://127.0.0.1:8000/codeless-django/

🖼️ Screenshots

image.png

🔹 App Creation Interface

  • Type your app name in the input field.

image2.png

🔸 Model and Field Builder

After creating the app:

  • You’ll see your app in the right panel (e.g., user).

  • Under "Add Model", type your model name and click Add Model.

  • Click the model name (e.g., User) to expand it.

  • Now:

    • Click Add Field to define model fields like CharField, IntegerField, etc.
    • Set the field name and options (e.g., max_length, default, null).
  • Optionally, click Add Meta to add class-level options like ordering or verbose_name.

Repeat this process for as many models and fields as you need.


✅ Final Step: Create Apps

After adding all your models and fields:

  • Hit the Create Apps button to generate files.

  • Select:

    • API View – if you want REST API views generated.
    • Template Views – if you want generic HTML views generated.
  • Your Django app will now include:

    • models.py
    • serializers.py (if API View checked)
    • views.py
    • urls.py
    • admin.py

🤝 Contribution

We welcome contributions! Feel free to open issues, suggest improvements, or submit PRs.


🛠️ License

MIT License

About

CodeLess-Django (python package) is a powerful Django tool that lets you build Django apps, models, fields, and APIs using a graphical interface—without writing repetitive boilerplate code. It's ideal for rapid prototyping, educational projects, and accelerating development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published