Skip to content

Commit 4282b99

Browse files
authored
Merge pull request #60 from matthewhegarty/remove-unused-view-imports
Remove unused view imports
2 parents f8a9f39 + 8a2889a commit 4282b99

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Django==2.1.7
33
Pygments==2.3.1
44
Markdown==3.1
55
coreapi==2.3.3
6-
psycopg2==2.7.7
6+
psycopg2-binary==2.7.7
77
dj-database-url==0.5.0
88
gunicorn==19.9.0
99
whitenoise==4.1.2

snippets/views.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
from django.contrib.auth.models import User
2-
from rest_framework import generics, permissions, renderers, viewsets
3-
from rest_framework.decorators import api_view, detail_route
2+
from rest_framework import permissions, renderers, viewsets
3+
from rest_framework.decorators import detail_route
44
from rest_framework.response import Response
5-
from rest_framework.reverse import reverse
65

76
from snippets.models import Snippet
87
from snippets.permissions import IsOwnerOrReadOnly

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy