Changes between Initial Version and Version 2 of Ticket #28997
- Timestamp:
- Jan 8, 2018, 12:43:43 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28997
- Property Component Uncategorized → Migrations
- Property Type Uncategorized → Bug
- Property Resolution → invalid
- Property Status new → closed
-
Ticket #28997 – Description
initial v2 2 2 3 3 Here is the code, please I need help to resolve this. 4 4 {{{ 5 5 def increment_property_number(): 6 6 last_property = Property.objects.all().order_by('id').last() … … 13 13 new_property_id = 'KSL' + str(str(datetime.date.today().year)) 14 14 str(datetime.date.today().month).zfill(2) + str(new_property_int).zfill(4) 15 }}}