mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-26 18:02:18 +00:00
Fix for issue #4. Changed edited by username to standard name format.
This commit is contained in:
@@ -7,7 +7,6 @@ from django.conf import settings
|
|||||||
import reversion
|
import reversion
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Create your models here.
|
# Create your models here.
|
||||||
class Profile(AbstractUser):
|
class Profile(AbstractUser):
|
||||||
initials = models.CharField(max_length=5, unique=True, null=True, blank=True)
|
initials = models.CharField(max_length=5, unique=True, null=True, blank=True)
|
||||||
@@ -286,7 +285,6 @@ class Invoice(models.Model):
|
|||||||
void = models.BooleanField()
|
void = models.BooleanField()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class Payment(models.Model):
|
class Payment(models.Model):
|
||||||
CASH = 'C'
|
CASH = 'C'
|
||||||
INTERNAL = 'I'
|
INTERNAL = 'I'
|
||||||
|
|||||||
@@ -138,7 +138,8 @@
|
|||||||
<a href="{% url 'event_duplicate' event.pk %}" class="btn btn-default" title="Duplicate Rig"><span
|
<a href="{% url 'event_duplicate' event.pk %}" class="btn btn-default" title="Duplicate Rig"><span
|
||||||
class="glyphicon glyphicon-duplicate"></span></a>
|
class="glyphicon glyphicon-duplicate"></span></a>
|
||||||
</div>
|
</div>
|
||||||
<div>Last edited at {{ object.last_edited_at|date:"SHORT_DATETIME_FORMAT" }} by {{ object.last_edited_by }}.
|
<div>Last edited at {{ object.last_edited_at|date:"SHORT_DATETIME_FORMAT" }}
|
||||||
|
by {{ object.last_edited_by.name }}.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
BIN
db.sqlite3
BIN
db.sqlite3
Binary file not shown.
Reference in New Issue
Block a user