This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "manage.py", line 10, in <module> | |
execute_from_command_line(sys.argv) | |
File "/home/btaylor/python-virtualenvs/cassie_cropping/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line | |
utility.execute() | |
File "/home/btaylor/python-virtualenvs/cassie_cropping/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute | |
django.setup() | |
File "/home/btaylor/python-virtualenvs/cassie_cropping/lib/python3.4/site-packages/django/__init__.py", line 21, in setup | |
apps.populate(settings.INSTALLED_APPS) | |
File "/home/btaylor/python-virtualenvs/cassie_cropping/lib/python3.4/site-packages/django/apps/registry.py", line 78, in populate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Foo(object): | |
def __init__(self, *args, **kwargs): | |
self.pick_id = kwargs.pop('pick_id') | |
super(Foo, self).__init__(*args, **kwargs) | |
foo = Foo(pick_id=2) | |
print foo.pick_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Environment: | |
Request Method: POST | |
Request URL: http://localhost:8000/poll/35f3cce8c344410b9ef6f2612e6c9cab/close/ | |
Django Version: 1.7.1 | |
Python Version: 3.4.0 | |
Installed Applications: | |
('django.contrib.admin', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"error_message": "The format indicated 'application/x-www-form-urlencoded' had no available deserialization method. Please check your ``formats`` and ``content_types`` on your Serializer.", "traceback": "Traceback (most recent call last):\n\n File \"/home/btaylor/python_virtualenvs/b2c/local/lib/python2.7/site-packages/tastypie/resources.py\", line 195, in wrapper\n response = callback(request, *args, **kwargs)\n\n File \"/home/btaylor/python_virtualenvs/b2c/local/lib/python2.7/site-packages/tastypie/resources.py\", line 426, in dispatch_list\n return self.dispatch('list', request, **kwargs)\n\n File \"/home/btaylor/python_virtualenvs/b2c/local/lib/python2.7/site-packages/tastypie/resources.py\", line 458, in dispatch\n response = method(request, **kwargs)\n\n File \"/home/btaylor/python_virtualenvs/b2c/local/lib/python2.7/site-packages/tastypie/resources.py\", line 1317, in post_list\n deserialized = self.deserialize(request, request.body, format=request.META.get('CONTENT_TYPE', 'application/json'))\n\n Fil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (root, factory) { | |
if (typeof define === 'function' && define.amd) { | |
define(['underscore'], factory); | |
} else { | |
root.AjaxOnDemandDataSource = factory(); | |
} | |
}(this, function () { | |
var AjaxOnDemandDataSource = function(options) { | |
this._formatter = options.formatter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background: url("../images/bg-page.jpg") no-repeat scroll 50% 0 #050404; | |
} | |
img { | |
display: block; | |
} | |
footer { | |
border-top: none; | |
margin-top: 0; | |
padding-top: 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { background: URL("../images/bg-page.jpg") no-repeat scroll 50% 0 #050404; } | |
img { display: block; } | |
footer { | |
border-top: none; | |
margin-top: 0; | |
padding-top: 0; | |
} | |
footer p { | |
font-size: 10px; | |
color: white; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body | |
{ | |
background: url("../images/bg-page.jpg") no-repeat scroll 50% 0 #050404; | |
} | |
img | |
{ | |
display: block; | |
} |