Skip to content

Instantly share code, notes, and snippets.

View Copser's full-sized avatar
:octocat:
Something need doing?

p_pilipovic Copser

:octocat:
Something need doing?
View GitHub Profile
@Copser
Copser / gist:ed8af320be9c1437aa3c
Created November 5, 2014 06:23
IntegrityError
(venv)petarp@petarp-Aspire-5315:~/Documents/Projects/django_tutor_blog_ng/venv/django_tutorial_blog_ng$ python manage.py test blogengine
Creating test database for alias 'default'...
...................E.....
======================================================================
ERROR: test_clear_cache (blogengine.tests.PostViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/petarp/Documents/Projects/django_tutor_blog_ng/venv/django_tutorial_blog_ng/blogengine/tests.py", line 569, in test_clear_cache
post.save()
File "/home/petarp/Documents/Projects/django_tutor_blog_ng/venv/local/lib/python2.7/site-packages/django/db/models/base.py", line 545, in save

Sublime Text 2 – Useful Shortcuts (Ubuntu)

General

Ctrl+KB toggle side bar
Ctrl+Shift+P command palette
Ctrl+` python console
Ctrl+N new file

Editing