Skip to content

Instantly share code, notes, and snippets.

View paulnicholsen27's full-sized avatar

Paul Nicholsen paulnicholsen27

View GitHub Profile
toggleEmbedCode: function(e) {
this.$el.find('.embed-code').toggleClass('active');
this.$el.find('.link-code').removeClass('active');
},
toggleShowLink: function(e) {
this.$el.find('.link-code').toggleClass('active');
this.$el.find('.embed-code').removeClass('active');
}
* <Paul Nichols> (6 seconds ago) (HEAD, master)
|\ Merge branch 'master' of github.com:theatlantic/Atlantic-CMS
| * <Oakland Peters> (3 minutes ago) (origin/ojp/iphone-quiz-cutoff, origin/master, origin/HEAD)
| | Quiz results cropped in small viewports. Forcing iframe resize fixes it. ref 5212
* | <Paul Nichols> (64 seconds ago)
|/ -e git+git@github.com:theatlantic/theatlantic-django.git@v1.5.24#egg=theatlantic-django
* <Paul Nichols> (18 minutes ago)
| -e git+git@github.com:theatlantic/theatlantic-django.git@v1.5.23#egg=theatlantic-djang
<script type="text/javascript">
function resizeIframe(iframe) {
iframe.height = iframe.contentWindow.document.body.scrollHeight + "px";
}
</script>
<iframe onload="resizeIframe(this)" src='http://cdn.theatlantic.com/assets/media/interactives/2014/12/jawbone-year-in-review/index.html' width='100%' height='100%' background-color='blue'>
</iframe>
['',
'/Users/pnichols/.virtualenvs/waldo/bin',
'/Volumes/www/waldo/atl',
'/Users/pnichols/.virtualenvs/waldo/lib/python27.zip',
'/Users/pnichols/.virtualenvs/waldo/lib/python2.7',
'/Users/pnichols/.virtualenvs/waldo/lib/python2.7/plat-darwin',
'/Users/pnichols/.virtualenvs/waldo/lib/python2.7/plat-mac',
'/Users/pnichols/.virtualenvs/waldo/lib/python2.7/plat-mac/lib-scriptpackages',
'/Users/pnichols/.virtualenvs/waldo/Extras/lib/python',
'/Users/pnichols/.virtualenvs/waldo/lib/python2.7/lib-tk',
FAILED (errors=1)
Destroying test database for alias 'default'...
(Atlantic-CMS)pnichols@machine:/Volumes/www/Atlantic-CMS/apps (nicholsen/curated_field)$ manage test article_curation.tests.test_forms
Creating test database for alias 'default'...
E
======================================================================
ERROR: setUpClass (article_curation.tests.test_forms.CuratedFormTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/www/Atlantic-CMS/apps/article_curation/tests/test_forms.py", line 26, in setUpClass
Creating test database for alias 'default'...
{'group': <CuratedArticleGroup: Featured>, 'date_end': None, 'date_start': None, 'object_id': 385583, 'custom_status': 3, 'source': u'', 'custom_title': u'', 'custom_dek': u'<div>I am <b>bold', 'position': 0, 'custom_short_title': u''}
<ul class="errorlist"><li>content_type<ul class="errorlist"><li>Select a valid choice. 1 is not one of the available choices.</li><li>Select a source to curate from</li></ul></li></ul>
E
======================================================================
ERROR: test_close_open_dek_tags (article_curation.tests.test_forms.CuratedFormTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/www/Atlantic-CMS/apps/article_curation/tests/test_forms.py", line 49, in test_close_open_dek_tags
form.save()
[user]
name = Paul Nichols
email = pnicholsen@theatlantic.com
[core]
editor = subl -w
autocrlf = false
safecrlf = true
[alias]
co = checkout
ci = commit
Environment:
Request Method: GET
Request URL: http://localhost:8000/politics/
Django Version: 1.4.14
Python Version: 2.7.5
Installed Applications:
('south',
Environment:
Request Method: POST
Request URL: http://local.admin.theatlantic.com:8001/curation_nouveau/homepagesection/1/
Django Version: 1.4.14
Python Version: 2.7.5
Installed Applications:
('south',
File "/Volumes/www/Atlantic-CMS/bin/../apps/manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/Volumes/www/Atlantic-CMS/src/django/django/core/management/__init__.py", line 443, in execute_from_command_line
utility.execute()
File "/Volumes/www/Atlantic-CMS/src/django/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Volumes/www/Atlantic-CMS/src/django/django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/Volumes/www/Atlantic-CMS/src/django/django/core/management/base.py", line 231, in execute
self.validate()