As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Does anyone know of a good way to use pytables with the Django as a datastore (mainly reading data)? I am hoping to store large amounts of log data using pytables and then access it in my django app (via pandas - the pandas/pytables interplay is described by one of the comments).
I believe that the Django has an MVC architecture where the models wrap an RDS. Is it possible for to wrap a PyTable instead of an RDS in the model? Or would I need to do this in the controller (which I am guessing would break the MVC)?
Thanks in advance for your help.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm writing a fairly simple Flask app that requires a cron job. Right now, I have a separate module that imports the classes it needs from my app module. This seems to work just fine.
I stumbled across Flask-Script, and I'm left wondering why it would be used over the solution I have now. Keeping in mind that I am new to Flask, can anyone explain this?
It seems to be a helper module. It just gives you a nice "router" for command line commands instead of URLs.
It's more convenient and (more importantly) easier to read the intent of the code.
- Especially for non-trivial cases (>200loc)
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Question is for programmers who have used Django and Flask for real projects.
What challenges do you face going to the Flask?
Interested in the situation when there may be unexpected difficulties (after using django).
Specific examples are welcome.
I tend to use Django for "big" projects and Flask for projects requiring less than a ~300 lines file.
The challenges in moving to Flask are in my sense to go look for the extensions for forms, mails, databases... When you need them, and referring to different documentations. But it is naturally the price of flexibility.
One of the key issue I have been facing was deployment with Fabric. I was used to deploy very quickly with django-fab-deploy and it tooks me a little bit of time to set up a comparable generic deployment solution for Flask.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm getting ready to deploy an app to Heroku and I'm considering adding Loggly as a plugin. I love the idea of being able to aggregate and search my logs more easily, but I'm a bit concerned about what kind of performance hit I might take because of it. Any experiences (good or bad) out there with Loggly?
Just as a note: I'm using Python with Django 1.3
Just for future reference for people... I tried loggly out and was generally very pleased with them. While I never did any formal benchmarking tests (with our without them). Any performance issues were not noticeable to me.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am using a python web crawler for various social networking sites and am trying to determine the best way to store large amounts of data (mostly xml/text data) that I screen scrape. Could you suggest any databases that would be appropriate and easily accessible. Something that works well with python would be nice. Additionally, I would want to go back and parse the data at a later date.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to wrap it inside a template. That's very important.
There a several forum app exists for django.
Look here django forums
And specially look at DjangoBB