Changes between Initial Version and Version 2 of Ticket #28997


Ignore:
Timestamp:
Jan 8, 2018, 12:43:43 PM (7 years ago)
Author:
Tim Graham
Comment:

Please see TicketClosingReasons/UseSupportChannels for ways to get help.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28997

    • Property Component UncategorizedMigrations
    • Property Type UncategorizedBug
    • Property Resolutioninvalid
    • Property Status newclosed
  • Ticket #28997 – Description

    initial v2  
    22
    33Here is the code, please I need help to resolve this.
    4 
     4{{{
    55def increment_property_number():
    66   last_property = Property.objects.all().order_by('id').last()
     
    1313new_property_id = 'KSL' + str(str(datetime.date.today().year)) 
    1414str(datetime.date.today().month).zfill(2) + str(new_property_int).zfill(4)
     15}}}
Back to Top