
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
A ready-to-use Django plugin which provides dynamic form generation for your Django models. These forms are intended to be integrated with your admin or management dashboard to allow easy management of your data.
django-coffee-tools
provides a ready-to-use Django plugin which provides dynamic form generation for your Django models. These forms are intended to be integrated with your admin or management dashboard to allow easy management of your application's data.
Plug and play - waste less time making views to manage your application's data.
INSTALLED_APPS = [
# ...
"coffee",
]
urlpatterns = [
path("admin/", admin.site.urls),
path("coffee/", include("coffee.urls")),
path("api/", include("api.urls")),
]
Generate HTML which can be integrated into your frontend.
<!-- http://localhost:8008/coffee/form/?app_name=api&model_name=Category&pk=5 -->
<form
action="/coffee/form/submit/?app_name=api&model_name=Category"
method="POST"
class="coffee-form"
>
<div class="coffee-form-item">
<label class="coffee-form-item-label" for="name">name</label
><textarea
value="Frozen"
name="name"
id="name"
type="text"
class="coffee-form-item-input"
>Frozen</textarea>
</div>
<input
name="csrfmiddlewaretoken"
value="lWqQXylYRShwQcRxbYCyxrTTOMci1Pv3MJ4MMYEqkK9NM8LIdNsb99AGOigpWR4t"
type="hidden"
/><button type="submit" class="coffee-form-submit">Update</button>
</form>
The model form can be used for existing instances of data or be used to create new instances of data.
/coffee/form/?app_name=&model_name=&pk=
app_name
: The name of your Django application, e.g. api
model_name
: The name of your application model, e.g. ShoppingItem
. Note, this property is case sensitive.pk
: Optional. The relevant primary key for your selected model.This project won't move very fast and I've built it mostly for my own projects, if you'd like to contribute, get in touch!
FAQs
A ready-to-use Django plugin which provides dynamic form generation for your Django models. These forms are intended to be integrated with your admin or management dashboard to allow easy management of your data.
We found that django-coffee-tools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.