mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 18:56:15 +02:00
Typo fixes and cleanup
This commit is contained in:
parent
0951faa998
commit
e211a59304
4 changed files with 3 additions and 8 deletions
|
@ -10,7 +10,6 @@ from django.views.generic import RedirectView
|
||||||
|
|
||||||
from registrar import views
|
from registrar import views
|
||||||
|
|
||||||
# from registrar.views.admin_views import export_data
|
|
||||||
from registrar.views.admin_views import ExportData
|
from registrar.views.admin_views import ExportData
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1354,8 +1354,8 @@ class Domain(TimeStampedModel, DomainHelper):
|
||||||
"""
|
"""
|
||||||
logger.info("Changing to ready state")
|
logger.info("Changing to ready state")
|
||||||
logger.info("able to transition to ready state")
|
logger.info("able to transition to ready state")
|
||||||
# if self.first_ready_at is not None, this means that his
|
# if self.first_ready_at is not None, this means that this
|
||||||
# domain wasr READY, then not READY, then is READY again.
|
# domain was READY, then not READY, then is READY again.
|
||||||
# We do not want to overwrite first_ready_at.
|
# We do not want to overwrite first_ready_at.
|
||||||
if self.first_ready_at is None:
|
if self.first_ready_at is None:
|
||||||
self.first_ready_at = timezone.now()
|
self.first_ready_at = timezone.now()
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div id="content-main">
|
<div id="content-main">
|
||||||
{% include "admin/app_list.html" with app_list=app_list show_changelinks=True %}
|
{% include "admin/app_list.html" with app_list=app_list show_changelinks=True %}
|
||||||
<div class="custom-content module">
|
<div class="custom-content module">
|
||||||
<h2>Welcome to the Custom Admin Homepage!</h2>
|
<h2>Domain growth report</h2>
|
||||||
|
|
||||||
{% comment %}
|
{% comment %}
|
||||||
Inputs of type date suck for accessibility.
|
Inputs of type date suck for accessibility.
|
||||||
|
|
|
@ -17,8 +17,6 @@ class TestViews(TestCase):
|
||||||
# Make a GET request to the admin index page
|
# Make a GET request to the admin index page
|
||||||
response = self.client.get(admin_index_url)
|
response = self.client.get(admin_index_url)
|
||||||
|
|
||||||
print(f"response1 {response}")
|
|
||||||
|
|
||||||
# Assert that the response status code is 200 (OK)
|
# Assert that the response status code is 200 (OK)
|
||||||
self.assertEqual(response.status_code, 200)
|
self.assertEqual(response.status_code, 200)
|
||||||
|
|
||||||
|
@ -33,8 +31,6 @@ class TestViews(TestCase):
|
||||||
# Make a GET request to the export data page
|
# Make a GET request to the export data page
|
||||||
response = self.client.get(export_data_url)
|
response = self.client.get(export_data_url)
|
||||||
|
|
||||||
print(response)
|
|
||||||
|
|
||||||
# Assert that the response status code is 200 (OK) or the expected status code
|
# Assert that the response status code is 200 (OK) or the expected status code
|
||||||
self.assertEqual(response.status_code, 200)
|
self.assertEqual(response.status_code, 200)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue