Skip to content

Instantly share code, notes, and snippets.

@odigity
Created May 21, 2022 17:21
Show Gist options
  • Save odigity/d89bb3035ea87fbd40fdfca8a2987c8e to your computer and use it in GitHub Desktop.
Save odigity/d89bb3035ea87fbd40fdfca8a2987c8e to your computer and use it in GitHub Desktop.
Django 3.0 App Template Results
from django.contrib import admin
# Register your models here.
from django.apps import AppConfig
class PollsConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'polls'
$ django-admin startapp polls
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment