mirror of
https://github.com/wrabit/django-cotton.git
synced 2025-08-04 15:18:20 +00:00
I don't see why we need to pre-install cotton
This commit is contained in:
parent
fbee378905
commit
5836a69b60
3 changed files with 4 additions and 5 deletions
|
@ -9,7 +9,7 @@ COPY . .
|
|||
RUN ["npx", "tailwindcss", "-o", "./docs_project/static/app.css"]
|
||||
|
||||
# Use an official Python runtime as a base image
|
||||
FROM python:3.12-slim-bookworm as base
|
||||
FROM python:3.12-slim-bookworm AS base
|
||||
|
||||
# Setup env
|
||||
ENV PIP_DISABLE_PIP_VERSION_CHECK=on \
|
||||
|
|
|
@ -239,9 +239,9 @@ context = { 'today': Weather.objects.get(...) }
|
|||
</c-slot>
|
||||
</c-snippet>
|
||||
|
||||
<h3 id="excluded"><code>{{ '<c-vars />'|force_escape }}</code> are excluded from <code>{% verbatim %}{{ attrs }}{% endverbatim %}</code></h3>
|
||||
<h3 id="excluded">{{ '<c-vars />'|force_escape }} are excluded from {% verbatim %}{{ attrs }}{% endverbatim %}</h3>
|
||||
|
||||
<p>Keys in {{ '<c-vars />'|force_escape }} are omitted from {% verbatim %}{{ attrs }}{% endverbatim %}, making them ideal for configuration attributes that shouldn't appear in HTML attributes.</p>
|
||||
<p>Keys in <code>{{ '<c-vars />'|force_escape }}</code> are omitted from <code>{% verbatim %}{{ attrs }}{% endverbatim %}</code>, making them ideal for configuration attributes that shouldn't appear in HTML attributes.</p>
|
||||
|
||||
<c-snippet label="cotton/input_group.html">{% cotton_verbatim %}{% verbatim %}
|
||||
<c-vars label errors />
|
||||
|
|
|
@ -26,5 +26,4 @@ Django = "^5.1"
|
|||
heroicons = "2.6.0"
|
||||
gunicorn = "20.1.0"
|
||||
asgiref = ">=3.6.0,<4"
|
||||
whitenoise = "6.2.0"
|
||||
django-cotton = "^1.3.0"
|
||||
whitenoise = "6.2.0"
|
Loading…
Add table
Add a link
Reference in a new issue