Skip to main content

Un package Django pour la simulation du comportement des applications

Project description

"""

Django Blog App

Une application Django réutilisable pour créer un blog simple.

Installation

pip install django-blog-app

Configuration

  1. Ajoutez 'django_blog_app' à vos INSTALLED_APPS :
INSTALLED_APPS = [
    # ... autres apps
    'django_blog_app',
]
  1. Incluez les URLs dans votre urls.py principal :
from django.urls import path, include

urlpatterns = [
    # ... autres URLs
    path('blog/', include('django_blog_app.urls')),
]
  1. Exécutez les migrations :
python manage.py makemigrations django_blog_app
python manage.py migrate

Utilisation

L'application fournit :

  • Un modèle Post pour les articles
  • Un modèle Comment pour les commentaires
  • Des vues pour afficher la liste des posts et le détail
  • Une interface d'administration
  • Des templates de base

Personnalisation

Vous pouvez surcharger les templates en créant vos propres templates dans votre projet Django sous django_blog_app/. """

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

package_app_behavior-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file package_app_behavior-0.1.0.tar.gz.

File metadata

  • Download URL: package_app_behavior-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for package_app_behavior-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1a0a934dc934d48e8bdb8d8d3acd2cfac17b44b10af7fb479e00cb0b279ed345
MD5 d81ecce32d0e4ad044cdd5672c35e8b3
BLAKE2b-256 ee9ce8a45b527bffbbc1d3e86d501c2d6d1b4fbe7682b3a46a3647a4e8a63638

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page