Skip to content

Commit 0ea4de1

Browse files
committed
Initial boilerplate
- requirements - .gitignore - startproject app, startapp pages, startapp articles - removed tests (we are not going to add tests)
0 parents  commit 0ea4de1

20 files changed

Lines changed: 214 additions & 0 deletions

‎.gitignore‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
*.py?
2+
*~
3+
*.sw?
4+
\#*#
5+
.DS_Store
6+
._*
7+
/*.egg-info
8+
/docs/_build
9+
.coverage
10+
htmlcov
11+
venv
12+
db.sqlite3

‎app/__init__.py‎

Whitespace-only changes.

‎app/articles/__init__.py‎

Whitespace-only changes.

‎app/articles/admin.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.contrib import admin
2+
3+
# Register your models here.

‎app/articles/apps.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from django.apps import AppConfig
2+
3+
4+
class ArticlesConfig(AppConfig):
5+
name = 'articles'

‎app/articles/migrations/__init__.py‎

Whitespace-only changes.

‎app/articles/models.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.db import models
2+
3+
# Create your models here.

‎app/articles/views.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.shortcuts import render
2+
3+
# Create your views here.

‎app/pages/__init__.py‎

Whitespace-only changes.

‎app/pages/admin.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.contrib import admin
2+
3+
# Register your models here.

0 commit comments

Comments
 (0)