示例#1
0
class Eperience(models.Model):

	position = models.ChartField(max_length= 50)
	company = models.ChartField(max_length= 120)
	start = models.DateField(auto_now=False, auto_now_add=False, blank=True, null=True)
	end = models.DateField(auto_now=False, auto_now_add=False, blank=True, null=True)
	description = models.TextField()	
示例#2
0
class Education(models.Model):

    degree = models.ChartField(max_length=50)
    college = models.ChartField(max_length=120)
    start = models.DateField(auto_now=False,
                             auto_now_add=False,
                             blank=True,
                             null=True)
    end = models.DateField(auto_now=False,
                           auto_now_add=False,
                           blank=True,
                           null=True)
示例#3
0
文件: models.py 项目: biz2013/xwjy
class SiteSettings(SingletonModel):
    support = models.EmailField(default='*****@*****.**')
    heepay_notify_url_host = models.CharField(max_length=128,default='localhost')
    heepay_notify_url_port = models.IntegerField(default=8000)
    heepay_return_url_host = models.CharField(max_length=128,default='localhost')
    heepay_return_url_port = models.IntegerField(default=8000)
    heepay_app_id= models.CharField(max_length=128)
    heepay_app_key= models.CharField(max_length=128)
    heepay_expire_in_sec = models.IntegerField(default=300)
    axfd_path= models.CharField(max_length=255, default='')
    axfd_datadir = models.CharField(max_length=255, default='')
    axfd_account_name = models.CharField(max_length=64, blank=True, default='')
    axfd_list_trans_count = models.IntegerField(default=1000)
    min_trx_confirmation = models.IntegerField(default=8)
    per_transaction_limit = models.IntegerField(default=100)
    axfd_passphrase = models.CharField(max_length=64, blank=True, default='')
    order_timeout_insec = models.IntegerField(default=600)
    confirmation_timeout_insec = models.IntegerField(default=300)
    api_cny_master_wallet_addr = models.ChartField(max_length=128, blank=True, default='')
    config_json = models.CharField(max_length=8192, default='{}')
示例#4
0
class Skills(models.Model):

    kind = models.ChartField(max_length=50)
    description = models.ChartField(max_length=100)
    level = models.PositiveImtegerField()
示例#5
0
class Firstapp(models.Model):
    name = models.ChartField(max_length=100)
    email = models.EmailField(max_length=100, unique=True)
    message = models.CharField(max_length=500, blank=True)
    created_at = models.DateTimeField(auto_now_add=True)