Updates
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
from django import forms
|
||||
|
||||
# place form definition here
|
||||
@@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
@@ -0,0 +1,3 @@
|
||||
from django.urls import include, path
|
||||
|
||||
# place app url patterns here
|
||||
@@ -0,0 +1 @@
|
||||
# Create your views here.
|
||||
@@ -0,0 +1,11 @@
|
||||
from django.core.management.base import {{ base_command }}
|
||||
|
||||
|
||||
class Command({{ base_command }}):
|
||||
help = "My shiny new management command."
|
||||
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument('sample', nargs='+')
|
||||
|
||||
def handle(self, *args, **options):
|
||||
raise NotImplementedError()
|
||||
@@ -0,0 +1,9 @@
|
||||
from django_extensions.management.jobs import BaseJob
|
||||
|
||||
|
||||
class Job(BaseJob):
|
||||
help = "My sample job."
|
||||
|
||||
def execute(self):
|
||||
# executing empty sample job
|
||||
pass
|
||||
@@ -0,0 +1,3 @@
|
||||
from django import template
|
||||
|
||||
register = template.Library()
|
||||
Reference in New Issue
Block a user