added data
This commit is contained in:
parent
601b79b3f2
commit
6ae78513f2
@ -11,7 +11,7 @@ class LogBookEntry(models.Model):
|
|||||||
airport_from = models.CharField(max_length=4)
|
airport_from = models.CharField(max_length=4)
|
||||||
airport_to = models.CharField(max_length=4)
|
airport_to = models.CharField(max_length=4)
|
||||||
remarks = models.TextField(null=True,blank=True)
|
remarks = models.TextField(null=True,blank=True)
|
||||||
number_instructor_app = models.DecimalField(decimal_places=1,max_digits=3,null=True,blank=True)
|
number_instrument_app = models.DecimalField(decimal_places=1,max_digits=3,null=True,blank=True)
|
||||||
number_landings = models.DecimalField(decimal_places=1,max_digits=3,null=True,blank=True)
|
number_landings = models.DecimalField(decimal_places=1,max_digits=3,null=True,blank=True)
|
||||||
airplane_sel = models.DecimalField(decimal_places=1,max_digits=3,null=True,blank=True)
|
airplane_sel = models.DecimalField(decimal_places=1,max_digits=3,null=True,blank=True)
|
||||||
airplane_mel = models.DecimalField(decimal_places=1,max_digits=3,null=True,blank=True)
|
airplane_mel = models.DecimalField(decimal_places=1,max_digits=3,null=True,blank=True)
|
||||||
|
2
requirements.txt
Normal file
2
requirements.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Django==1.3
|
||||||
|
MySQL-python==1.2.5
|
@ -4,9 +4,9 @@ except:
|
|||||||
DEBUG = True
|
DEBUG = True
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
|
'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
|
||||||
'NAME': 'tyrellogbook', # Or path to database file if using sqlite3.
|
'NAME': 'tyrellogbook', # Or path to database file if using sqlite3.
|
||||||
'USER': '', # Not used with sqlite3.
|
'USER': 'root', # Not used with sqlite3.
|
||||||
'PASSWORD': '', # Not used with sqlite3.
|
'PASSWORD': '', # Not used with sqlite3.
|
||||||
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
|
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
|
||||||
'PORT': '', # Set to empty string for default. Not used with sqlite3.
|
'PORT': '', # Set to empty string for default. Not used with sqlite3.
|
||||||
|
Loading…
Reference in New Issue
Block a user