We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8a5673 commit c909f0eCopy full SHA for c909f0e
swan/views.py
@@ -31,7 +31,7 @@
31
from swan.models import Apply, SwanLog
32
from assets.models import project_swan
33
from assets.models import Host
34
-from mysite.salt_webconfig import auth_key
+from mysite.settings import auth_key
35
from cmdb_auth.no_auth import check_auth
36
import ast
37
import hashlib
@@ -522,4 +522,4 @@ def SwanSelectLog(request, uuid):
522
day = datetime.datetime.strptime(date, '%Y-%m-%d')
523
log_data = SwanLog.objects.filter(project_uuid=uuid, swan_datetime__gte=day).order_by("-swan_datetime")
524
525
- return render_to_response('swan/swan_log.html', locals(), context_instance=RequestContext(request))
+ return render_to_response('swan/swan_log.html', locals(), context_instance=RequestContext(request))
0 commit comments