Résultats plein texte:
- memo @developpement:django
- 2017-09-10: Création ====== MEMO DJANGO ====== ===== Rappel Python & installation ===== Installer l'envir... env: <file bash> $ cd /home/Cyberdyne_partage/Dev/django/ $ virtualenv -p /usr/bin/python3.4 gpio $ source... $ python3 -m venv py34 </file> </note> Installer Django: <file bash> $ pip install django $ python -m django --version -> 1.10.3 </file> Mettre à jour django: e
- production @developpement:django
- Notes du 2018-09-21 ====== Mise en prod Django+uWSGI ====== ====== La Doc officielle Django ====== **La doc Django :** \\ La Doc Django renvoie vers la Doc de uWSGI : \\ [[https://docs.djangoproject.com/fr/2.1/howto/depl
- django_webpack_setup_project @developpement:django
- isation \\ 2021-10-25: Séparation [[developpement:django:django_webpack_setup_project#avec_virtualenv|avec_virtualenv]] et [[developpement:django:django_webpack_setup_project#avec_pipenv|avec_pipenv]] \\ 2021-10-25: Notes sur la configuration du fichi
- appli_sport @projets:sport
- mposition technique ====== * Le framework web //Django// permettra d'avoir une interface web, une base d... librairie //ReactJS//. ====== Création du projet Django ====== Ce nouveau projet est l'occation d'utilise... ory" // Envirennement du projet $ pipenv install django $ pipenv shell $ pipenv shell Spawning environmen... alenvs/sport-NstqUrdS/bin/activate // Version de Django $ python -m django --version 3.0.5 </file> <note>
- django_data_base_admin @developpement:django
- u 2018-07-29 ====== Quelques notes sur l'admin de Django ====== ===== Activer les Tables à Admin ===== Ex... n de tables : **//admin.py//** <file python> from django.contrib import admin # Register your models here... tivation et gestion de la table Song dans l'admin Django @admin.register(Song) class SongAdmin(admin.Model... ass </file> ===== Créer le superuser ===== L'amin Django est accessible via login et mot de passe: <file p
- production_gunicorn_nginx @developpement:django
- 8-09-22 \\ 2018-09-26 update ====== Déploiement Django Gunicorn Nginx Supervisor ====== <note>**Avant de... remercier **Mr Robin Penea**, mon **formateur** **Django** sur **Udemy**. Il a pris sur son temps perso po... es. En effet, il y a 2 méthodes de déploiement de Django : * uWSGI * Gunicorn Ne sachant pas la différ... ce que je veux faire. \\ Le lien de sa formation Django sur Udemy: \\ [[https://www.udemy.com/share/100iy
- start
- #444444 #303030 | <color #F79300> ** 2021-10-25: Django: Mise à jour du modèle Django + Webpack** </color> ><color #C0C0C0> {{ :developpement:django:django_logo_256x256px_.png?nolink&150|}} Petite mise à jour du modèle **//Django//** + **//Webpack//** qu
- startproject @developpement:django:tuto_django_story
- ash> $ source /home/jc/dev/py/py35/bin/activate $ django-admin startproject tuto_django_story_prj $ cd tuto_django_story_prj $ tree . ├── manage.py └── tuto_django_story_prj ├── __init__.py ├── settings.py ├─
- django_data_base @developpement:django
- Notes du 2018-07-28 ====== La base de donné avec Django ====== ===== Exemple de base de données ===== <file python> from django.db import models class Song(models.Model): ... /0001_initial.py//** <file python> # Generated by Django 2.0.7 on 2018-07-28 15:51 from django.db import migrations, models class Migration(migrations.Migratio
- tp1_taches_models @developpement:django:tuto_django_story
- els.py │ ├── tests.py │ └── views.py └── tuto_django_story_prj ├── __init__.py ├── __pycache__... e dans le répertoire du projet : <file bash> tuto_django/ ├── manage.py └── tuto_django ├── __init__.py ├── settings.py ├── todo <---- ici ... ez la mettre à côté du manage.py <file bash> tuto_django/ ├── manage.py ├── todo <---- ici │
- django_deploiement @developpement:django
- 2020-11-08: Création \\ ====== Comment déployer Django ? ====== ===== Contexte ===== L'objectif est de déployé **//Django//** sur la plateforme suivante: * Système d'exp... (image etc) via **//Nginx//**. * Propulsion de Django via **//Crossbar//** pour bénéficier des **//Webs... 20.7.1" bcrypt = "==3.2.0" begins = "==0.9" [...] Django = "==3.1.2" Jinja2 = "==2.11.2" [...] Twisted = "
- tech_challenge @projets:wildcodeschool
- /JC-onLine/WildCodeSchool.git </file> ==== Python/Django ==== <file bash> $ /home/jc/dev/WildCodeSchool/ $ pipenv shell $ pip install django $ python -m django --version 3.1.2 </file> ==== IDE PyCharm ==== File / New project... \\ * Location: /... l-iMrT80ZM/bin/python3.8 ==== Creation projet/app Django ==== **Création du projet:** <file bash> $ cd /ho
- tp3_views_et_urls @developpement:django:tuto_django_story
- py//** <file python> # -*- coding: utf-8 -*- from django import forms from todo.models import Task class ... model = Task # ==== Partie ajoutée ==== from django.views.generic import ListView, CreateView from django.core.urlresolvers import reverse_lazy from django.http import HttpResponseRedirect from todo.forms import
- django_step_by_step @developpement:django
- == Création du projet ====== <file bash> $ ./venv/django-admin startproject hellodjango </file> ====== Création d'une application Django step by step ====== ===== Création de l'appli ==... app **//peoplebook/apps.py//** <file python> from django.apps import AppConfig class PeoplebookConfig(Ap... rls du projet: **//urls.py//** <file python> from django.contrib import admin from django.urls import path
- url_apropos_django @developpement:django
- ====== Liste d'url de tuto ou aide pour Django ====== ===== Mozilla MDN ===== [[https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/skeleton_website]] \\ [[https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/Deployment]] ==== Vidéos ==== Tuto vidéo en EN:... 772&tbs=lr%3Alang_1fr&ei=feR6WujmIsqXgAbM1YnoDA&q=django+ajax+example&oq=django+ajax+exempl&gs_l=psy-ab.3.