Commit f0e0399e authored by Myriam Begel's avatar Myriam Begel

Création d'une application

parent 68fdbcab
......@@ -37,6 +37,7 @@ INSTALLED_APPS = [
......@@ -13,9 +13,10 @@ Including another URLconf
1. Import the include() function: from django.conf.urls import url, include
2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
from django.conf.urls import url
from django.conf.urls import url, include
from django.contrib import admin
urlpatterns = [
url(r'^', include('perso_app.urls')),
from django.contrib import admin
# Register your models here.
from django.apps import AppConfig
class PersoAppConfig(AppConfig):
name = 'perso_app'
from django.db import models
# Create your models here.
from django.test import TestCase
# Create your tests here.
from django.shortcuts import render
# Create your views here.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment