added base stuff
This commit is contained in:
0
currencyproj/home/__init__.py
Normal file
0
currencyproj/home/__init__.py
Normal file
3
currencyproj/home/admin.py
Normal file
3
currencyproj/home/admin.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
5
currencyproj/home/apps.py
Normal file
5
currencyproj/home/apps.py
Normal file
@ -0,0 +1,5 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class HomeConfig(AppConfig):
|
||||
name = 'home'
|
0
currencyproj/home/migrations/__init__.py
Normal file
0
currencyproj/home/migrations/__init__.py
Normal file
6
currencyproj/home/models.py
Normal file
6
currencyproj/home/models.py
Normal file
@ -0,0 +1,6 @@
|
||||
from django.db import models
|
||||
|
||||
class Ticker(models.Model):
|
||||
f = open("../currency.txt","r")
|
||||
a = f.readline()
|
||||
print(a)
|
3
currencyproj/home/tests.py
Normal file
3
currencyproj/home/tests.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
3
currencyproj/home/views.py
Normal file
3
currencyproj/home/views.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
Reference in New Issue
Block a user