We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 352967e commit ed0ae85Copy full SHA for ed0ae85
core/admin.py
@@ -1,3 +0,0 @@
1
-from django.contrib import admin
2
-
3
-# Register your models here.
core/apps.py
@@ -2,5 +2,7 @@
4
class CoreConfig(AppConfig):
5
+ """Core app config"""
6
+
7
default_auto_field = "django.db.models.BigAutoField"
8
name = "core"
core/tests.py
@@ -1,5 +1,3 @@
-from datetime import date
from django.test import TestCase
from .models import Student
@@ -8,6 +6,8 @@
9
10
class StudentModelTest(TestCase):
+ """Student model test"""
11
def setUp(self):
12
self.student = Student.objects.create(
13
first_name="John",
core/views.py
-from django.shortcuts import render
-# Create your views here.
0 commit comments