flask-celery icon indicating copy to clipboard operation
flask-celery copied to clipboard

manage.py runserver broken routes

Open slestak opened this issue 13 years ago • 3 comments

Hi Ask,

I have duplicated this behavior on 2 os's (aix with python 2.6.2) and (mint-debian with python2.7.1)

I have tried the release version of flask-celery as well as the master from gh.

My debmint test was in a virtualenv with no access to system site-packages

I simplified the myapp.py in your example dir to remove all celery reference and just make it a basic Flask hello world.

I get nothing for routes. When I open a shell in app context and look at the Flask object, here is its url map.

Map([[<Rule '/static/' (HEAD, OPTIONS, GET) -> static>]])

Note: On my real app, when I run manage.py celeryd, all is well. I can then run the web app using "python myapp.py" and routing works, so there is something with the runserver option of manage.py that is acting up (or a misconfiguration of mine ;))

edit* typos

slestak avatar May 19 '11 22:05 slestak