initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
class ExchangeRate(models.Model):
|
||||
crypto_currency = models.CharField(max_length=10)
|
||||
fiat_currency = models.CharField(max_length=10)
|
||||
rate = models.DecimalField(max_digits=24, decimal_places=10)
|
||||
datetime_valid = models.DateTimeField('datetime valid')
|
||||
class Meta:
|
||||
db_table = "exchangerate"
|
||||
Reference in New Issue
Block a user