Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Commit

Permalink
added a.gitignore file
Browse files Browse the repository at this point in the history
  • Loading branch information
Lisa Flinn authored and Lisa Flinn committed Jan 26, 2020
1 parent 88b98d3 commit 553df80
Show file tree
Hide file tree
Showing 17 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.pyc
.DS_Store
__pycache__/
db.sqlite3
*.key
thumbs.db
Empty file added rango/__init__.py
Empty file.
Binary file added rango/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file added rango/__pycache__/admin.cpython-37.pyc
Binary file not shown.
Binary file added rango/__pycache__/models.cpython-37.pyc
Binary file not shown.
Binary file added rango/__pycache__/views.cpython-37.pyc
Binary file not shown.
3 changes: 3 additions & 0 deletions rango/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.contrib import admin

# Register your models here.
5 changes: 5 additions & 0 deletions rango/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.apps import AppConfig


class RangoConfig(AppConfig):
name = 'rango'
Empty file added rango/migrations/__init__.py
Empty file.
Binary file added rango/migrations/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
3 changes: 3 additions & 0 deletions rango/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.db import models

# Create your models here.
3 changes: 3 additions & 0 deletions rango/tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.test import TestCase

# Create your tests here.
7 changes: 7 additions & 0 deletions rango/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from django.shortcuts import render

from django.http import HttpResponse

def index(request):
return HttpResponse("Rango says Howdy Partner")

Binary file modified tango_with_django_project/__pycache__/settings.cpython-37.pyc
Binary file not shown.
Binary file modified tango_with_django_project/__pycache__/urls.cpython-37.pyc
Binary file not shown.
1 change: 1 addition & 0 deletions tango_with_django_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'rango',
]

MIDDLEWARE = [
Expand Down
2 changes: 2 additions & 0 deletions tango_with_django_project/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
"""
from django.contrib import admin
from django.urls import path
from rango import views

urlpatterns = [
path('', views.index, name='index'),
path('admin/', admin.site.urls),
]

0 comments on commit 553df80

Please sign in to comment.