Skip to content
Snippets Groups Projects
Commit 509715ff authored by Patricio Kumagae's avatar Patricio Kumagae
Browse files

Tarea #19703 - También me pidieron sacar el ícono Facebook del footer

parent c7bf1fe5
No related branches found
No related tags found
No related merge requests found
......@@ -17,8 +17,7 @@ You should have received a copy of the GNU General Public License along with thi
<section>
<h2>Redes Sociales</h2>
<div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"> <ul>
<li><a href="https://www.facebook.com/bfa.ar" target="_blank"><i class="fab fa-facebook-f fa-2x" aria-hidden="true"></i><span
class="sr-only">Facebook</span></a></li>
<li><a href="https://www.twitter.com/bfa_ar" target="_blank"><i class="fab fa-twitter fa-2x" aria-hidden="true"></i><span
class="sr-only">Twitter</span></a></li>
<li><a href="https://www.instagram.com/bfa_ar" target="_blank"><i class="fab fa-instagram fa-2x" aria-hidden="true"></i><span
......@@ -43,4 +42,4 @@ You should have received a copy of the GNU General Public License along with thi
<script src="{% static 'frontend/js/vendor/font-awesome531.js' %}"></script>
<script src="{% static 'frontend/js/vendor/jquery.validate.js' %}"></script>
<script src="{% static 'frontend/js/main.js' %}"></script>
\ No newline at end of file
<script src="{% static 'frontend/js/main.js' %}"></script>
......@@ -146,8 +146,12 @@ class AccountListView(LoginRequiredMixin, ListView):
return context
def get_queryset(self):
qs = CustomUserAccount.objects.filter(user=CustomUser.objects.get(user_id=self.request.user.id))
return qs
try:
qs = CustomUserAccount.objects.filter(user=CustomUser.objects.get(user_id=self.request.user.id))
return qs
except CustomUser.DoesNotExist:
return None
class AccountCreateView(LoginRequiredMixin, CreateView):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment