This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-SelfSignedCertificate -Subject "localhost" -TextExtension @("2.5.29.17={text}DNS=localhost&IPAddress=127.0.0.1&IPAddress=::1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#agregar en requirements.txt | |
social-auth-app-django | |
#agregar a installed_apps | |
'social_django', | |
#en el archivo principal de urls | |
path('social-auth/', include('social_django.urls', namespace="social")), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if paginator.num_pages > 1%} | |
<div class="d-flex justify-content-center"> | |
<ul class="pagination"> | |
{% if entity.has_previous %} | |
<li class="page-item d-none d-sm-block"><a class="page-link" href="?page={{ entity.previous_page_number }}#pagtable">Anterior</a></li> | |
{% endif %} | |
{% for page in paginator.page_range %} | |
{% if forloop.last and page != entity.number and paginator.num_pages > 7 %} | |
{% if entity.next_page_number != paginator.num_pages%} | |
<li class="page-item"> |