Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 7, 2024
1 parent 51c2990 commit 50e6448
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions ejemplo/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tienda.settings')
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tienda.settings")
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
Expand All @@ -18,5 +18,5 @@ def main():
execute_from_command_line(sys.argv)


if __name__ == '__main__':
if __name__ == "__main__":
main()
4 changes: 2 additions & 2 deletions ejemplo/pagos/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@


class PagosConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'pagos'
default_auto_field = "django.db.models.BigAutoField"
name = "pagos"
2 changes: 1 addition & 1 deletion ejemplo/tienda/asgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@

from django.core.asgi import get_asgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tienda.settings')
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tienda.settings")

application = get_asgi_application()
3 changes: 2 additions & 1 deletion ejemplo/tienda/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"""

from django.contrib import admin
from django.urls import path, include
from django.urls import include, path

from pagos.views import crear_pago

urlpatterns = [
Expand Down
2 changes: 1 addition & 1 deletion ejemplo/tienda/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@

from django.core.wsgi import get_wsgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tienda.settings')
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tienda.settings")

application = get_wsgi_application()

0 comments on commit 50e6448

Please sign in to comment.