Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.57 KB | None | 0 0
  1.  
  2. class BookingTransactionCorp(BookingTransaction):
  3.  
  4.     class Meta:
  5.         proxy = True
  6.         verbose_name = u'Операция с бронью (корп.)'
  7.         verbose_name_plural = u'Операции с бронями (корп.)'
  8.  
  9.  
  10. class Session(GDSDependent):
  11.  
  12.     ip = models.CharField(max_length=15, null=True, blank=True)
  13.     uid = models.CharField(max_length=32)
  14.     cookie = models.TextField(null=True, blank=True)
  15.     expiry_date = models.DateTimeField(null=True, blank=True)
  16.     # gds_type = GDSDependent.gds_type
  17.  
  18.     def __unicode__(self):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement