feat: add "generated with djinit" comment to template files
This commit is contained in:
18 files changed
+40
-16
No files matched your search
@@ -1,3 +1,5 @@
|
|||||||
|
"""generated with djinit"""
|
||||||
|
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
|
|
||||||
# Register your models here.
|
# Register your models here.
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
"""generated with djinit"""
|
||||||
|
|
||||||
from django.apps import AppConfig
|
from django.apps import AppConfig
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
"""generated with djinit"""
|
||||||
|
|
||||||
from django.db import models
|
from django.db import models
|
||||||
|
|
||||||
# Create your models here.
|
# Create your models here.
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
"""
|
"""
|
||||||
|
generated with djinit
|
||||||
|
|
||||||
API routes for {{ app_name }} app.
|
API routes for {{ app_name }} app.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
"""
|
"""
|
||||||
Serializers for {{ app_name }} app.
|
generated with djinit
|
||||||
|
serializers for {{ app_name }} app.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from rest_framework import serializers
|
from rest_framework import serializers
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
"""generated with djinit"""
|
||||||
|
|
||||||
from django.test import TestCase
|
from django.test import TestCase
|
||||||
|
|
||||||
# Create your tests here.
|
# Create your tests here.
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
"""generated with djinit"""
|
||||||
|
|
||||||
from django.urls import path
|
from django.urls import path
|
||||||
from . import views
|
from . import views
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
"""generated with djinit"""
|
||||||
|
|
||||||
from django.shortcuts import render
|
from django.shortcuts import render
|
||||||
|
|
||||||
# Create your views here.
|
# Create your views here.
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
"""generated with djinit"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
from django.core.asgi import get_asgi_application
|
from django.core.asgi import get_asgi_application
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
"""generated with djinit"""
|
||||||
|
|
||||||
"""Django's command-line utility for administrative tasks."""
|
"""Django's command-line utility for administrative tasks."""
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
"""generated with djinit"""
|
||||||
|
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
from django.urls import path, include
|
from django.urls import path, include
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
|
generated with djinit
|
||||||
Common settings shared between development and production environment
|
Common settings shared between development and production environment
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
"""generated with djinit"""
|
||||||
|
|
||||||
from .base import *
|
from .base import *
|
||||||
|
|
||||||
SECRET_KEY = "{{ secret_key }}"
|
SECRET_KEY = "{{ secret_key }}"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
"""generated with djinit"""
|
||||||
|
|
||||||
from .base import *
|
from .base import *
|
||||||
import os
|
import os
|
||||||
import dj_database_url
|
import dj_database_url
|
||||||
|
|||||||
@@ -1,19 +1,5 @@
|
|||||||
"""
|
"""generated with djinit"""
|
||||||
URL configuration for {{ project_name }} project.
|
|
||||||
|
|
||||||
The `urlpatterns` list routes URLs to views. For more information please see:
|
|
||||||
https://docs.djangoproject.com/en/{{ django_version }}/topics/http/urls/
|
|
||||||
Examples:
|
|
||||||
Function views
|
|
||||||
1. Add an import: from my_app import views
|
|
||||||
2. Add a URL to urlpatterns: path('', views.home, name='home')
|
|
||||||
Class-based views
|
|
||||||
1. Add an import: from other_app.views import Home
|
|
||||||
2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')
|
|
||||||
Including another URLconf
|
|
||||||
1. Import the include() function: from django.urls import include, path
|
|
||||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
|
||||||
"""
|
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
from django.urls import path
|
from django.urls import path
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
"""generated with djinit"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
from django.core.wsgi import get_wsgi_application
|
from django.core.wsgi import get_wsgi_application
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
#--------------------------------------------------#
|
||||||
|
# The following was generated by djinit: #
|
||||||
|
#--------------------------------------------------#
|
||||||
|
|
||||||
# Python
|
# Python
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
*$py.class
|
*$py.class
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
#--------------------------------------------------#
|
||||||
|
# The following was generated by djinit: #
|
||||||
|
#--------------------------------------------------#
|
||||||
|
|
||||||
Django
|
Django
|
||||||
python-dotenv
|
python-dotenv
|
||||||
django-jazzmin
|
django-jazzmin
|
||||||
|
|||||||
Reference in new issue
Block a user