move product version to settings file
This commit is contained in:
parent
8657fab3c1
commit
8aa4f5cc48
@ -159,6 +159,7 @@ EMAIL_PORT = 25
|
||||
URL_LOCATION_PROCESSOR = 'http://127.0.0.1:8000/billard/process_locationdata'
|
||||
|
||||
PRODUCT_INFO = 'CAROM-DEV'
|
||||
PRODUCT_VERSION = 'v 0.5.0'
|
||||
|
||||
try:
|
||||
from local_settings import *
|
||||
|
@ -51,7 +51,7 @@
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="userMenu">
|
||||
<!-- <a class="dropdown-item" href="#">My account</a> -->
|
||||
<a class="disabled dropdown-item" href="#">v0.5.0</a>
|
||||
<a class="disabled dropdown-item" href="#">{% settings_value "PRODUCT_VERSION" %}</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="{% url 'logout' %}">Log out</a>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user