Skip to content

Instantly share code, notes, and snippets.

@gkmngrgn
Created May 1, 2013 13:17
Show Gist options
  • Save gkmngrgn/5495232 to your computer and use it in GitHub Desktop.
Save gkmngrgn/5495232 to your computer and use it in GitHub Desktop.
(qhonuskan-votes)demo|tests⚡ ⇒ python manage.py harvest
Django's builtin server is running at 0.0.0.0:8000
Feature: Rocking with qhonuskan_votes # qhonuskan_votes/features/index.feature:1
Scenario: Voting as AnonymousUser # qhonuskan_votes/features/index.feature:3
Given I access the url "/" # qhonuskan_votes/features/index.py:11
f> /home/gokmen/Documents/github/gkmngrgn/qhonuskan-votes/demo/qhonuskan_votes/features/index.py(13)access_url()
12 import ipdb; ipdb.set_trace()
---> 13 response = world.browser.get(url)
14 world.dom = html.fromstring(response.content)
ipdb> from qhonuskan_votes.models import VotesField
*** ImportError: cannot import name VotesField
ipdb> from app.models import VotesField
ipdb> from qhonuskan_votes.models import VotesField
ipdb>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment