Skip to content

Commit cbdc317

Browse files
committed
working on code for next blog post
1 parent 2ecb349 commit cbdc317

File tree

9 files changed

+20
-0
lines changed

9 files changed

+20
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Posts and associated code:
77

88
|Post|Code Directory|
99
|---|---|
10+
|[Monitoring Django Projects with Rollbar](https://www.fullstackpython.com/blog/monitor-django-projects-web-apps-rollbar.html)|[monitor-django-apps](./monitor-django-apps)|
1011
|[Developing Flask Apps in Docker Containers on macOS](https://www.fullstackpython.com/blog/develop-flask-web-apps-docker-containers-macos.html)|[docker-flask-mac](./docker-flask-mac)|
1112
|[First Steps with GitPython](https://www.fullstackpython.com/blog/first-steps-gitpython.html)|[first-steps-gitpython](./first-steps-gitpython)|
1213
|[DevOps, Thank You Maintainers and Contributing to Open Source](https://www.fullstackpython.com/blog/devops-python-maintaining-contributing-open-source.html)|No code in post.|

monitor-django-apps/djmonitor/billions/__init__.py

Whitespace-only changes.
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.
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 BillionsConfig(AppConfig):
5+
name = 'billions'

monitor-django-apps/djmonitor/billions/migrations/__init__.py

Whitespace-only changes.
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.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.test import TestCase
2+
3+
# Create your tests here.
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.

monitor-django-apps/djmonitor/djmonitor/urls.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@
1313
1. Import the include() function: from django.urls import include, path
1414
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
1515
"""
16+
from django.conf.urls import include
1617
from django.contrib import admin
1718
from django.urls import path
1819

1920
urlpatterns = [
21+
path(r'^billions/', include('billions.urls', namespace='billions')),
2022
path('admin/', admin.site.urls),
2123
]

0 commit comments

Comments
 (0)