Skip to content

Commit

Permalink
Final Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelromon committed Nov 18, 2019
1 parent 1d0d6a7 commit 33f4d16
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions game_collection/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from game_collection.tasks import *


@login_required(login_url='login')
def read_csv(file):
file_url = BASE_DIR + file

Expand Down Expand Up @@ -373,7 +372,6 @@ def game_search(request):
return render(request, 'index.html')


@login_required(login_url='login')
def where_is(game_version, user):
if Played.objects.filter(game_version=game_version, user=user).exists():
return ["PLAYED", Played.objects.get(game_version=game_version, user=user)]
Expand Down
1 change: 0 additions & 1 deletion gamehoarder_site/templates/search/search_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ <h2>{% trans "Search Results" %}</h2>
{% else %}
<a class="btn btn-primary"
href="{% url "add_game" game.db_id %}">{% trans "Add to interested" %}</a>
<button type="button"></button>
{% endif %}
</td>
</tr>
Expand Down
1 change: 0 additions & 1 deletion gamehoarder_site/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def download_csv(request):

return response


def login_register(request):
if request.method == 'POST':
form = UserForm(request.POST)
Expand Down

0 comments on commit 33f4d16

Please sign in to comment.