Giter VIP home page Giter VIP logo

django-feedreader's People

Contributors

ahernp avatar dependabot[bot] avatar sewake avatar zsoldosp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

django-feedreader's Issues

problem with running

i can't run app, this is the traceback message:

Environment:


Request Method: GET
Request URL: http://127.0.0.1:8000/feedreader/

Django Version: 1.4.3
Python Version: 2.7.3
Installed Applications:
('django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.admin',
 'feedreader')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware')


Template error:
In template /home/ali/Workspace/virtualenv/djangofeedreader/project/feedreader/templates/feedreader/feeds.html, error at line 134
   Reverse for ''feedreader.views.feeds'' with arguments '()' and keyword arguments '{}' not found.
   124 :     <div id="menu" style="width:20%;float:left">


   125 :         <p>


   126 :             <input id="show_read" 


   127 :                 class="load_request"


   128 :                 type="checkbox" 


   129 :                 name="Show Stories Already Read">


   130 :             Show Read Stories


   131 :         </p>


   132 :         <h3>


   133 :             <a class="load_request" 


   134 :                 href=" {% url 'feedreader.views.feeds' %} "


   135 :                 title="Show All feeds">


   136 :                 All stories


   137 :             </a>


   138 :             <span 


   139 :                 id="unread_total"


   140 :                 title="Mark as Read"


   141 :                 class="load_request mark_read_request">


   142 :             </span>


   143 :         </h3>


   144 :         <div id="accordion">


Traceback:
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  111.                         response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
  20.                 return view_func(request, *args, **kwargs)
File "/home/ali/Workspace/virtualenv/djangofeedreader/project/feedreader/views.py" in feeds
  122.     return render_to_response('feedreader/feeds.html', context, RequestContext(request))
File "/usr/lib/python2.7/site-packages/django/shortcuts/__init__.py" in render_to_response
  20.     return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
File "/usr/lib/python2.7/site-packages/django/template/loader.py" in render_to_string
  176.         return t.render(context_instance)
File "/usr/lib/python2.7/site-packages/django/template/base.py" in render
  140.             return self._render(context)
File "/usr/lib/python2.7/site-packages/django/template/base.py" in _render
  134.         return self.nodelist.render(context)
File "/usr/lib/python2.7/site-packages/django/template/base.py" in render
  823.                 bit = self.render_node(node, context)
File "/usr/lib/python2.7/site-packages/django/template/debug.py" in render_node
  74.             return node.render(context)
File "/usr/lib/python2.7/site-packages/django/template/loader_tags.py" in render
  123.         return compiled_parent._render(context)
File "/usr/lib/python2.7/site-packages/django/template/base.py" in _render
  134.         return self.nodelist.render(context)
File "/usr/lib/python2.7/site-packages/django/template/base.py" in render
  823.                 bit = self.render_node(node, context)
File "/usr/lib/python2.7/site-packages/django/template/debug.py" in render_node
  74.             return node.render(context)
File "/usr/lib/python2.7/site-packages/django/template/loader_tags.py" in render
  62.             result = block.nodelist.render(context)
File "/usr/lib/python2.7/site-packages/django/template/base.py" in render
  823.                 bit = self.render_node(node, context)
File "/usr/lib/python2.7/site-packages/django/template/debug.py" in render_node
  74.             return node.render(context)
File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py" in render
  424.                         raise e

Exception Type: NoReverseMatch at /feedreader/
Exception Value: Reverse for ''feedreader.views.feeds'' with arguments '()' and keyword arguments '{}' not found.

updating the entries

In the official docs, it says that I can use Django command poll_fields to update the feeds, that is not working. where should I use it?

argument must be 9-item sequence, not None

I add rss feed of this site:http://en.farsnews.com/rss.aspx and i get this error

TypeError at /admin/feedreader/feed/add/

argument must be 9-item sequence, not None

Request Method: 	POST
Request URL: 	http://127.0.0.1:8000/admin/feedreader/feed/add/
Django Version: 	1.9.1
Exception Type: 	TypeError
Exception Value: 	

argument must be 9-item sequence, not None

Exception Location: 	/home/qwer/Projects/feedreader/local/lib/python2.7/site-packages/feedreader/utils.py in poll_feed, line 178
Python Executable: 	/home/qwer/Projects/feedreader/bin/python
Python Version: 	2.7.13
Python Path: 	

the url setting should update?

I found the url setting
url(r'^feedreader/', include('feedreader.urls')),
should update to
url(r'^feedreader/', include('feedreader.urls'), namespace="feedreader"),
else, there is a error:
u'feedreader' is not a registered namespace.
I'm new in django, I'm not sure.

cannot import name build_context

Do you know what is the solution?

cannot import name build_context
Request Method: GET
Request URL: http://project.dev/admin/
Django Version: 1.8
Exception Type: ImportError
Exception Value:
cannot import name build_context
Exception Location: /home/vagrant/venv/local/lib/python2.7/site-packages/feedreader/views.py in , line 18
Python Executable: /home/vagrant/venv/bin/python
Python Version: 2.7.3
Python Path:
['/vagrant/merkezhaber',
'/home/vagrant/venv/bin',
'/home/vagrant/venv/lib/python2.7',
'/home/vagrant/venv/lib/python2.7/plat-linux2',
'/home/vagrant/venv/lib/python2.7/lib-tk',
'/home/vagrant/venv/lib/python2.7/lib-old',
'/home/vagrant/venv/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/home/vagrant/venv/local/lib/python2.7/site-packages']
Server time: Tue, 21 Jul 2015 21:44:40 +0000

feed_list.html functionality moved to a html select box for mobile browser usage

I was wondering if anyone has modified the feed list functionality to reside in a select box. My goal is to allow for a better experience on a mobile browser. My thought is to use a select box populated from the list of feeds and being able to change the displayed feeds by selecting an item. I have the select box with the feeds populating it now but I need to trigger the page change. I don't want to break the "Mark as Read" functionality either but I do want to move the feed polling to a cron job so advice on that would be awesome too.

ImportError: cannot import name build_context

Hi, I try using this project but in project folder we have utils folder and utils.py both, and when i try using feedreader error raise that

lib/python2.7/site-packages/feedreader/views.py", line 18, in <module>
from .utils import build_context
ImportError: cannot import name build_context

i check and get that views.py try to use utils folder but we need utils.py
how can we fix this ?

Please upgrade requirement to Django 2.1?

Thank you very much for writing this app. You are very talented. I am sorry to bother you with this request, but I have been trying to use this app with other projects that are now using 2.1. Is it possible to update version that is in pypy to 2.1? I was able to install directly from this repo, but it appears that the pypy version is still using Django 2.0.

The current URL, accounts/login/, didn't match any of these.

Hi, I created a new virtualenv where experimenting with django-feedreader. I added feedreader to INSTALLED_APPS and changed urls.py adding url(r'^feedreader/', include('feedreader.urls', namespace='feedreader')) as said in the docs.

The output of pip freeze is:

Django==1.8
django-braces==1.4.0
django-feedreader==1.2.1
factory-boy==2.5.1
feedparser==5.1.3
mock==1.0.1
pytz==2015.4
six==1.9.0

The weird thing (a redirect attempt to the login page) happens trying to access http://127.0.0.1:8000/feedreader/ as anonymous user.

Page not found (404)
Request Method: GET
Request URL:    http://127.0.0.1:8000/accounts/login/?next=/feedreader/
Using the URLconf defined in project.urls, Django tried these URL patterns, in this order:
^admin/
^feedreader/
The current URL, accounts/login/, didn't match any of these.
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.

When I'm already authenticated everything is ok. I wonder why the error happens and why it's required to be an authenticated user to see that page, and finally what I'm doing wrong.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.