Skip to content
Snippets Groups Projects
Commit 5483276c authored by Pekka Harjamäki's avatar Pekka Harjamäki
Browse files

Fixed formating of md file

parent 1a976a8b
No related branches found
No related tags found
No related merge requests found
# Accounts for site: # Accounts for site:
URL: http://localhost:8000/admin URL: http://localhost:8000/admin<br/>
Username: admin Username: admin<br/>
Password: admin Password: admin<br/>
Username: bob Username: bob<br/>
Password: squarepants Password: squarepants<br/>
Username: alice Username: alice<br/>
Password: redqueen Password: redqueen<br/>
\ No newline at end of file \ No newline at end of file
...@@ -21,7 +21,6 @@ def searchMessagesView(request): ...@@ -21,7 +21,6 @@ def searchMessagesView(request):
sql = 'SELECT * from website_message where target_id=%d AND content like \'%%%s%%\'' % ( sql = 'SELECT * from website_message where target_id=%d AND content like \'%%%s%%\'' % (
request.user.id, request.POST.get('query') request.user.id, request.POST.get('query')
) )
print(sql)
msgs = Message.objects.raw(sql) msgs = Message.objects.raw(sql)
messages = [] messages = []
for msg in msgs: for msg in msgs:
......
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