index modified

This commit is contained in:
Francisco Rodriguez
2022-11-27 12:35:07 -07:00
parent 77e3315f8e
commit e2121905d6
2 changed files with 8 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
SECRET_KEY = 'django-insecure-5*mm&uf5zq@t6nrs_5z8-_qtyapm^3&yz^wqqkc_a!v(!ulj-^'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
DEBUG = True
ALLOWED_HOSTS = ['*']

View File

@@ -10,6 +10,9 @@
<input id="table_name" name="name" value="True" type="checkbox" class="form-check-input" >
RFC Cliente
</th>
<th scope="col">PAC</th>
<th scope="col">Tipo CFDI</th>
<th scope="col">actions</th>
</tr>
</thead>
@@ -18,6 +21,10 @@
<tr class="">
<th scope="row">{{obj.uuid}}</th>
<td>{{obj.rfcc}}</td>
<td>{{obj.rfcp}}</td>
<td>{{obj.tipo}}</td>
<td>
{% if request.user.is_staff %}
<a href="#" class="btn btn-info">View</a>