oups forgot main folder

This commit is contained in:
2026-01-23 07:56:23 +01:00
parent 3118264ac2
commit 60d35b8494
9 changed files with 324 additions and 0 deletions

218
.gitignore vendored Normal file
View File

@@ -0,0 +1,218 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[codz]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py.cover
.hypothesis/
.pytest_cache/
cover/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
.pybuilder/
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version
# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
# Pipfile.lock
# UV
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# uv.lock
# poetry
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
# poetry.lock
# poetry.toml
# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
# pdm.lock
# pdm.toml
.pdm-python
.pdm-build/
# pixi
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
# pixi.lock
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
# in the .venv directory. It is recommended not to include this directory in version control.
.pixi
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/
# Celery stuff
celerybeat-schedule
celerybeat.pid
# Redis
*.rdb
*.aof
*.pid
# RabbitMQ
mnesia/
rabbitmq/
rabbitmq-data/
# ActiveMQ
activemq-data/
# SageMath parsed files
*.sage.py
# Environments
.env
.envrc
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# pytype static type analyzer
.pytype/
# Cython debug symbols
cython_debug/
# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
# .idea/
# Abstra
# Abstra is an AI-powered process automation framework.
# Ignore directories containing user credentials, local state, and settings.
# Learn more at https://abstra.io/docs
.abstra/
# Visual Studio Code
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
# and can be added to the global gitignore or merged into this file. However, if you prefer,
# you could uncomment the following to ignore the entire vscode folder
# .vscode/
# Ruff stuff:
.ruff_cache/
# PyPI configuration file
.pypirc
# Marimo
marimo/_static/
marimo/_lsp/
__marimo__/
# Streamlit
.streamlit/secrets.toml
node_modules

16
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,16 @@
{
"[python]": {
"diffEditor.ignoreTrimWhitespace": false,
"editor.defaultColorDecorators": "never",
"editor.formatOnType": false,
"editor.wordBasedSuggestions": "off",
"editor.formatOnSave": true,
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "explicit",
}
},
"ruff.nativeServer": true,
"ruff.lineLength": 119
}

2
dev_requirements.txt Normal file
View File

@@ -0,0 +1,2 @@
ruff~=0.14.13
ipython~=9.9.0

1
items.json Normal file

File diff suppressed because one or more lines are too long

73
package-lock.json generated Normal file
View File

@@ -0,0 +1,73 @@
{
"name": "manifeste_velo",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"dependencies": {
"bootstrap": "5.3.*",
"bootstrap-icons": "1.13.*",
"htmx.org": "2.0.*",
"leaflet": "~1.9.4"
}
},
"node_modules/@popperjs/core": {
"version": "2.11.8",
"resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz",
"integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==",
"license": "MIT",
"peer": true,
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/popperjs"
}
},
"node_modules/bootstrap": {
"version": "5.3.8",
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.8.tgz",
"integrity": "sha512-HP1SZDqaLDPwsNiqRqi5NcP0SSXciX2s9E+RyqJIIqGo+vJeN5AJVM98CXmW/Wux0nQ5L7jeWUdplCEf0Ee+tg==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/twbs"
},
{
"type": "opencollective",
"url": "https://opencollective.com/bootstrap"
}
],
"license": "MIT",
"peerDependencies": {
"@popperjs/core": "^2.11.8"
}
},
"node_modules/bootstrap-icons": {
"version": "1.13.1",
"resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.13.1.tgz",
"integrity": "sha512-ijombt4v6bv5CLeXvRWKy7CuM3TRTuPEuGaGKvTV5cz65rQSY8RQ2JcHt6b90cBBAC7s8fsf2EkQDldzCoXUjw==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/twbs"
},
{
"type": "opencollective",
"url": "https://opencollective.com/bootstrap"
}
],
"license": "MIT"
},
"node_modules/htmx.org": {
"version": "2.0.8",
"resolved": "https://registry.npmjs.org/htmx.org/-/htmx.org-2.0.8.tgz",
"integrity": "sha512-fm297iru0iWsNJlBrjvtN7V9zjaxd+69Oqjh4F/Vq9Wwi2kFisLcrLCiv5oBX0KLfOX/zG8AUo9ROMU5XUB44Q==",
"license": "0BSD"
},
"node_modules/leaflet": {
"version": "1.9.4",
"resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.9.4.tgz",
"integrity": "sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA==",
"license": "BSD-2-Clause"
}
}
}

8
package.json Normal file
View File

@@ -0,0 +1,8 @@
{
"dependencies": {
"bootstrap": "5.3.*",
"bootstrap-icons": "1.13.*",
"htmx.org": "2.0.*",
"leaflet": "~1.9.4"
}
}

4
requirements.txt Normal file
View File

@@ -0,0 +1,4 @@
Django~=6.0.0
django-node-assets~=0.9.15
daphne~=4.2.1
django-extensions~=4.1

1
user.json Normal file
View File

@@ -0,0 +1 @@
[{"model": "auth.user", "pk": 1, "fields": {"password": "pbkdf2_sha256$1200000$qG4nk0dJBg3aR95tGWLbmW$xH+nWrxa1gfxZr73OALCJ7mQzcSdGoBrKszrSI8btnE=", "last_login": null, "is_superuser": true, "username": "admin", "first_name": "", "last_name": "", "email": "", "is_staff": true, "is_active": true, "date_joined": "2026-01-23T07:32:31.162", "groups": [], "user_permissions": []}}]

1
villes.json Normal file
View File

@@ -0,0 +1 @@
[{"model": "questionnaire.ville", "pk": 49007, "fields": {"nom": "Angers", "slug": "angers"}}, {"model": "questionnaire.ville", "pk": 49015, "fields": {"nom": "Avrillé", "slug": "avrille"}}, {"model": "questionnaire.ville", "pk": 49020, "fields": {"nom": "Beaucouzé", "slug": "beaucouze"}}, {"model": "questionnaire.ville", "pk": 49028, "fields": {"nom": "Béhuard", "slug": "behuard"}}, {"model": "questionnaire.ville", "pk": 49035, "fields": {"nom": "Bouchemaine", "slug": "bouchemaine"}}, {"model": "questionnaire.ville", "pk": 49048, "fields": {"nom": "Briollay", "slug": "briollay"}}, {"model": "questionnaire.ville", "pk": 49055, "fields": {"nom": "Cantenay-Épinard", "slug": "cantenay-epinard"}}, {"model": "questionnaire.ville", "pk": 49129, "fields": {"nom": "Écouflant", "slug": "ecouflant"}}, {"model": "questionnaire.ville", "pk": 49130, "fields": {"nom": "Écuillé", "slug": "ecuille"}}, {"model": "questionnaire.ville", "pk": 49135, "fields": {"nom": "Feneu", "slug": "feneu"}}, {"model": "questionnaire.ville", "pk": 49200, "fields": {"nom": "Longuenée-en-Anjou", "slug": "longuenee-en-anjou"}}, {"model": "questionnaire.ville", "pk": 49214, "fields": {"nom": "Montreuil-Juigné", "slug": "montreuil-juigne"}}, {"model": "questionnaire.ville", "pk": 49223, "fields": {"nom": "Mûrs-Érigné", "slug": "murs-erigne"}}, {"model": "questionnaire.ville", "pk": 49241, "fields": {"nom": "Le Plessis-Grammoire", "slug": "le-plessis-grammoire"}}, {"model": "questionnaire.ville", "pk": 49246, "fields": {"nom": "Les Ponts-de-Cé", "slug": "les-ponts-de-ce"}}, {"model": "questionnaire.ville", "pk": 49267, "fields": {"nom": "Saint-Barthélémy-d'Anjou", "slug": "saint-barthelemy-danjou"}}, {"model": "questionnaire.ville", "pk": 49271, "fields": {"nom": "Saint-Clément-de-la-Place", "slug": "saint-clement-de-la-place"}}, {"model": "questionnaire.ville", "pk": 49278, "fields": {"nom": "Saint-Gemmes-sur-Loire", "slug": "saint-gemmes-sur-loire"}}, {"model": "questionnaire.ville", "pk": 49294, "fields": {"nom": "Saint-Lambert-la-Potherie", "slug": "saint-lambert-la-potherie"}}, {"model": "questionnaire.ville", "pk": 49298, "fields": {"nom": "Saint-Léger-de-Linière", "slug": "saint-leger-de-liniere"}}, {"model": "questionnaire.ville", "pk": 49306, "fields": {"nom": "Saint-Martin-du-Fouilloux", "slug": "saint-martin-du-fouilloux"}}, {"model": "questionnaire.ville", "pk": 49307, "fields": {"nom": "Loire-Authion", "slug": "loire-authion"}}, {"model": "questionnaire.ville", "pk": 49323, "fields": {"nom": "Verrières-en-Anjou", "slug": "verrieres-en-anjou"}}, {"model": "questionnaire.ville", "pk": 49326, "fields": {"nom": "Sarrigné", "slug": "sarrigne"}}, {"model": "questionnaire.ville", "pk": 49329, "fields": {"nom": "Savennières", "slug": "savennieres"}}, {"model": "questionnaire.ville", "pk": 49338, "fields": {"nom": "Soulaines-sur-Aubance", "slug": "soulaines-sur-aubance"}}, {"model": "questionnaire.ville", "pk": 49339, "fields": {"nom": "Soulaire-et-Bourg", "slug": "soulaire-et-bourg"}}, {"model": "questionnaire.ville", "pk": 49353, "fields": {"nom": "Trélazé", "slug": "trelaze"}}, {"model": "questionnaire.ville", "pk": 49377, "fields": {"nom": "Rives-du-Loir-en-Anjou", "slug": "rives-du-loir-en-anjou"}}]