This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Create your models here. | |
| from __future__ import unicode_literals | |
| from django.db import models | |
| #from django.contrib.auth.models import User | |
| class Store(models.Model): | |
| store_email=models.CharField(max_length=50,primary_key=True) | |
| #store_id = models.OneToOneField(User,on_delete=models.CASCADE,primary_key=True) | |
| #store_id = models.ForeignKey(User, unique=True) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| from __future__ import unicode_literals | |
| from django.db import models | |
| from datetime import date | |
| from store.models import Store | |
| class Cmanage(models.Model): | |
| class Meta: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Tamagotchi - A port of the Tamagotchi Emulator by aerospark: https://goo.gl/gaZ1fA | |
| # Copyright (C) 2017 Ryan Salvador | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # This program is distributed in the hope that it will be useful, | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of |