workspace
stringclasses 1
value | channel
stringclasses 1
value | sentences
stringlengths 1
3.93k
| ts
stringlengths 26
26
| user
stringlengths 2
11
| sentence_id
stringlengths 44
53
| timestamp
float64 1.5B
1.56B
| __index_level_0__
int64 0
106k
|
---|---|---|---|---|---|---|---|
pythondev | help | yeah, that will cause you issues. But you can do an `init_app` style like this, rather than importing the app directly (which is probably why you have the issue) | 2017-07-12T09:47:32.207025 | Beula | pythondev_help_Beula_2017-07-12T09:47:32.207025 | 1,499,852,852.207025 | 84,803 |
pythondev | help | to get around it temporarily | 2017-07-12T09:47:39.211166 | Beula | pythondev_help_Beula_2017-07-12T09:47:39.211166 | 1,499,852,859.211166 | 84,804 |
pythondev | help | but blueprints == important | 2017-07-12T09:47:48.216537 | Beula | pythondev_help_Beula_2017-07-12T09:47:48.216537 | 1,499,852,868.216537 | 84,805 |
pythondev | help | Ya, even though I don't completely understand it, I feel that I should be implementing blue prints and an app factory pattern asap to avoid even more headaches later on... | 2017-07-12T09:48:19.235129 | Thomasina | pythondev_help_Thomasina_2017-07-12T09:48:19.235129 | 1,499,852,899.235129 | 84,806 |
pythondev | help | Yeah, they are really helpful | 2017-07-12T09:48:55.256714 | Beula | pythondev_help_Beula_2017-07-12T09:48:55.256714 | 1,499,852,935.256714 | 84,807 |
pythondev | help | It's annoying that this stuff is buried towards the back of the Flask docs (if I remember correctly) because I'd contend it's almost impossible to build a non-trivial Flask app without it | 2017-07-12T09:49:33.279306 | Gabriele | pythondev_help_Gabriele_2017-07-12T09:49:33.279306 | 1,499,852,973.279306 | 84,808 |
pythondev | help | They want people to get the initial wins to like it | 2017-07-12T09:49:53.291508 | Beula | pythondev_help_Beula_2017-07-12T09:49:53.291508 | 1,499,852,993.291508 | 84,809 |
pythondev | help | Part of why I am not using flask as much is that it encourages crap like this: <https://github.com/pyslackers/website-old/blob/master/pyslackers/external.py#L39> | 2017-07-12T09:52:16.377811 | Beula | pythondev_help_Beula_2017-07-12T09:52:16.377811 | 1,499,853,136.377811 | 84,810 |
pythondev | help | <@Gabriele> Ya, it boggles my mind how non-obvious these things are to new users of Flask such as myself. I wasn't even aware these things existed for awhile, never mind that they were at all important. | 2017-07-12T09:52:21.381037 | Thomasina | pythondev_help_Thomasina_2017-07-12T09:52:21.381037 | 1,499,853,141.381037 | 84,811 |
pythondev | help | Unfortunately most blogs and stuff only show happy path projects, few people educate on good patterns | 2017-07-12T09:53:01.404822 | Beula | pythondev_help_Beula_2017-07-12T09:53:01.404822 | 1,499,853,181.404822 | 84,812 |
pythondev | help | `from .models`
How does that work? O_o | 2017-07-12T09:53:14.412263 | Thomasina | pythondev_help_Thomasina_2017-07-12T09:53:14.412263 | 1,499,853,194.412263 | 84,813 |
pythondev | help | relative import | 2017-07-12T09:53:23.417619 | Beula | pythondev_help_Beula_2017-07-12T09:53:23.417619 | 1,499,853,203.417619 | 84,814 |
pythondev | help | <https://docs.python.org/3/tutorial/modules.html#intra-package-references> | 2017-07-12T09:53:46.431591 | Beula | pythondev_help_Beula_2017-07-12T09:53:46.431591 | 1,499,853,226.431591 | 84,815 |
pythondev | help | Ohhh, I see. Being rather new to Python I hadn't seen that before. Didn't exist in any other language I'd been coding in either. I take it that's something to avoid as well? I think I fell victim to at least a few of those tutorials that have some not-so-good practices mixed in with them | 2017-07-12T09:54:39.464137 | Thomasina | pythondev_help_Thomasina_2017-07-12T09:54:39.464137 | 1,499,853,279.464137 | 84,816 |
pythondev | help | relative imports are okay, but yeah - generally importing in a function/class/method is discouraged | 2017-07-12T09:55:09.482574 | Beula | pythondev_help_Beula_2017-07-12T09:55:09.482574 | 1,499,853,309.482574 | 84,817 |
pythondev | help | yeah, relative imports themselves are actually quite good | 2017-07-12T09:55:24.491999 | Junita | pythondev_help_Junita_2017-07-12T09:55:24.491999 | 1,499,853,324.491999 | 84,818 |
pythondev | help | Do imports by themselves generally have a lot of overhead? | 2017-07-12T09:55:37.499958 | Thomasina | pythondev_help_Thomasina_2017-07-12T09:55:37.499958 | 1,499,853,337.499958 | 84,819 |
pythondev | help | relative imports lets you avoid refactor annoyances with renaming packages and such | 2017-07-12T09:55:48.506945 | Beula | pythondev_help_Beula_2017-07-12T09:55:48.506945 | 1,499,853,348.506945 | 84,820 |
pythondev | help | you get to be quite explicit about where you are getting stuff from | 2017-07-12T09:55:59.513744 | Junita | pythondev_help_Junita_2017-07-12T09:55:59.513744 | 1,499,853,359.513744 | 84,821 |
pythondev | help | in the general case I wouldn’t worry about import overhead | 2017-07-12T09:56:32.533955 | Junita | pythondev_help_Junita_2017-07-12T09:56:32.533955 | 1,499,853,392.533955 | 84,822 |
pythondev | help | <https://wiki.python.org/moin/PythonSpeed/PerformanceTips#Import_Statement_Overhead> | 2017-07-12T09:56:44.541908 | Beula | pythondev_help_Beula_2017-07-12T09:56:44.541908 | 1,499,853,404.541908 | 84,823 |
pythondev | help | > import statements can be executed just about anywhere. It's often useful to place them inside functions to restrict their visibility and/or reduce initial startup time. Although Python's interpreter is optimized to not import the same module multiple times, repeatedly executing an import statement can seriously affect performance in some circumstances. | 2017-07-12T09:56:59.550891 | Beula | pythondev_help_Beula_2017-07-12T09:56:59.550891 | 1,499,853,419.550891 | 84,824 |
pythondev | help | I imported some APIs within functions because I thought it was kind of wasteful to import - for example - a Yelp, FourSquare, and EventBrite library when only the TicketMaster library would be needed for a certain call to my API, and after learning you can import in functions in Python. | 2017-07-12T09:56:59.550901 | Thomasina | pythondev_help_Thomasina_2017-07-12T09:56:59.550901 | 1,499,853,419.550901 | 84,825 |
pythondev | help | It actually does have impact that matters | 2017-07-12T09:57:29.570000 | Beula | pythondev_help_Beula_2017-07-12T09:57:29.570000 | 1,499,853,449.57 | 84,826 |
pythondev | help | Ideally you'd only do that at app-startup, not each call (e.g. don't import into an http endpoint handler) | 2017-07-12T09:57:51.583855 | Beula | pythondev_help_Beula_2017-07-12T09:57:51.583855 | 1,499,853,471.583855 | 84,827 |
pythondev | help | ...yeah, I was about to say that. You usually want this sort of thing out of the way at startup time | 2017-07-12T09:58:25.605045 | Gabriele | pythondev_help_Gabriele_2017-07-12T09:58:25.605045 | 1,499,853,505.605045 | 84,828 |
pythondev | help | Wouldn't the result be the same? I mean, at the risk of sounding like an idiot (this is my first PaaS project), every time someone calls my API doesn't `app.py` - in my Procfile: `web: python app.py` - run again and the whole process starts over? | 2017-07-12T10:00:49.698858 | Thomasina | pythondev_help_Thomasina_2017-07-12T10:00:49.698858 | 1,499,853,649.698858 | 84,829 |
pythondev | help | no | 2017-07-12T10:01:01.707001 | Gabriele | pythondev_help_Gabriele_2017-07-12T10:01:01.707001 | 1,499,853,661.707001 | 84,830 |
pythondev | help | At least not usually. Python servers, including Flask, are typically long-running processes. They sit waiting for requests, and when they've finished with one, they wait for the next | 2017-07-12T10:01:49.737510 | Gabriele | pythondev_help_Gabriele_2017-07-12T10:01:49.737510 | 1,499,853,709.73751 | 84,831 |
pythondev | help | you also want to use gunicorn (or a different interface server) | 2017-07-12T10:01:55.741269 | Beula | pythondev_help_Beula_2017-07-12T10:01:55.741269 | 1,499,853,715.741269 | 84,832 |
pythondev | help | don't use the flask devserver for prod | 2017-07-12T10:01:58.743033 | Beula | pythondev_help_Beula_2017-07-12T10:01:58.743033 | 1,499,853,718.743033 | 84,833 |
pythondev | help | but the way some of those work is as <@Gabriele> said. Some will restart a subprocess after it's handled some number of requests to limit memory growth, or something similar | 2017-07-12T10:02:46.774204 | Beula | pythondev_help_Beula_2017-07-12T10:02:46.774204 | 1,499,853,766.774204 | 84,834 |
pythondev | help | Oh no, how do I know if I'm using the devserver on Heroku? It completely slipped my mind and I didn't use gunicorn...so I guess I am? :dizzy_face: | 2017-07-12T10:03:51.815478 | Thomasina | pythondev_help_Thomasina_2017-07-12T10:03:51.815478 | 1,499,853,831.815478 | 84,835 |
pythondev | help | `python app.py` suggests you are | 2017-07-12T10:04:03.823513 | Beula | pythondev_help_Beula_2017-07-12T10:04:03.823513 | 1,499,853,843.823513 | 84,836 |
pythondev | help | Well...yes...I think I am. I guess when I was brand new and just starting the project I somehow thought that Heroku would take of the server stuff...guess that doesn't make much sense.. whoops | 2017-07-12T10:05:05.862900 | Thomasina | pythondev_help_Thomasina_2017-07-12T10:05:05.862900 | 1,499,853,905.8629 | 84,837 |
pythondev | help | It's fine in the short term if you're still developing or have a tiny number of users, but you'll probably want to test in a 'proper' config sooner rather than later to verify that everything still works | 2017-07-12T10:05:17.871027 | Gabriele | pythondev_help_Gabriele_2017-07-12T10:05:17.871027 | 1,499,853,917.871027 | 84,838 |
pythondev | help | For example, we had big problems when we moved our Flask app to Elastic Beanstalk because it has its own particular way that it expects Flask apps to be structured, which didn't match our existing setup | 2017-07-12T10:06:31.916937 | Gabriele | pythondev_help_Gabriele_2017-07-12T10:06:31.916937 | 1,499,853,991.916937 | 84,839 |
pythondev | help | So - and I still can't believe I didn't already realize this - Heroku runs my project on a server but it's truly a bare server without any HTTP functionality for example, which is why something like gunicorn is needed, right? | 2017-07-12T10:07:14.943673 | Thomasina | pythondev_help_Thomasina_2017-07-12T10:07:14.943673 | 1,499,854,034.943673 | 84,840 |
pythondev | help | they have a load balancer in front | 2017-07-12T10:07:49.965970 | Beula | pythondev_help_Beula_2017-07-12T10:07:49.965970 | 1,499,854,069.96597 | 84,841 |
pythondev | help | No, it's more that Flask has its own built-in HTTP server that is not designed to run at scale, just to service your local developer requests and that's about it | 2017-07-12T10:07:56.970168 | Gabriele | pythondev_help_Gabriele_2017-07-12T10:07:56.970168 | 1,499,854,076.970168 | 84,842 |
pythondev | help | So, without the Flask server running, Heroku would take care of that part? :upside_down_face: | 2017-07-12T10:08:30.991896 | Thomasina | pythondev_help_Thomasina_2017-07-12T10:08:30.991896 | 1,499,854,110.991896 | 84,843 |
pythondev | help | thats what you need gunicorn for | 2017-07-12T10:08:54.006598 | Meg | pythondev_help_Meg_2017-07-12T10:08:54.006598 | 1,499,854,134.006598 | 84,844 |
pythondev | help | no | 2017-07-12T10:09:08.015292 | Beula | pythondev_help_Beula_2017-07-12T10:09:08.015292 | 1,499,854,148.015292 | 84,845 |
pythondev | help | Without the flask server or gunicorn running, heroku would show an error page | 2017-07-12T10:09:30.028876 | Beula | pythondev_help_Beula_2017-07-12T10:09:30.028876 | 1,499,854,170.028876 | 84,846 |
pythondev | help | Go here, scroll down to "The Web Server": <https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-xviii-deployment-on-the-heroku-cloud> | 2017-07-12T10:10:12.055258 | Gabriele | pythondev_help_Gabriele_2017-07-12T10:10:12.055258 | 1,499,854,212.055258 | 84,847 |
pythondev | help | so the flow is something liek this
request -> Heroku LB -> Heroku Instance -> Guincorn/wsgi -> Flask/Django | 2017-07-12T10:10:20.060310 | Meg | pythondev_help_Meg_2017-07-12T10:10:20.060310 | 1,499,854,220.06031 | 84,848 |
pythondev | help | the internal flask http server is not meant for production | 2017-07-12T10:11:46.113852 | Meg | pythondev_help_Meg_2017-07-12T10:11:46.113852 | 1,499,854,306.113852 | 84,849 |
pythondev | help | its slow, can't scale at all | 2017-07-12T10:12:05.125916 | Meg | pythondev_help_Meg_2017-07-12T10:12:05.125916 | 1,499,854,325.125916 | 84,850 |
pythondev | help | <@Gabriele> Haha, I had learned a lot of what I know from that tutorial but hadn't gone through the whole thing. Guess I should've taken time to do the _whole_ thing. | 2017-07-12T10:12:24.137968 | Thomasina | pythondev_help_Thomasina_2017-07-12T10:12:24.137968 | 1,499,854,344.137968 | 84,851 |
pythondev | help | thats why you need to have somethign up front to separate into processes and handle concurrent requests | 2017-07-12T10:12:28.140357 | Meg | pythondev_help_Meg_2017-07-12T10:12:28.140357 | 1,499,854,348.140357 | 84,852 |
pythondev | help | i’ve used the factory pattern and blueprints since the beginning with many extensions and never had any issues. | 2017-07-12T10:24:50.612825 | Johana | pythondev_help_Johana_2017-07-12T10:24:50.612825 | 1,499,855,090.612825 | 84,853 |
pythondev | help | Any preferred web hotels to use for hosting django? | 2017-07-12T10:25:49.651388 | Zackary | pythondev_help_Zackary_2017-07-12T10:25:49.651388 | 1,499,855,149.651388 | 84,854 |
pythondev | help | Depends on what you want, there is <http://pythonanywhere.com|pythonanywhere.com>, <http://heroku.com|heroku.com> as two _easy_ solutions (infrastructure as a service) | 2017-07-12T10:28:51.771928 | Beula | pythondev_help_Beula_2017-07-12T10:28:51.771928 | 1,499,855,331.771928 | 84,855 |
pythondev | help | I just use Digital Ocean or AWS (usually the former) | 2017-07-12T10:29:12.785455 | Beula | pythondev_help_Beula_2017-07-12T10:29:12.785455 | 1,499,855,352.785455 | 84,856 |
pythondev | help | DO for personal | 2017-07-12T10:31:59.898411 | Meg | pythondev_help_Meg_2017-07-12T10:31:59.898411 | 1,499,855,519.898411 | 84,857 |
pythondev | help | AWS for work | 2017-07-12T10:32:01.900025 | Meg | pythondev_help_Meg_2017-07-12T10:32:01.900025 | 1,499,855,521.900025 | 84,858 |
pythondev | help | <@Meg> Wow. That's a super clear explainer! Thanks! | 2017-07-12T10:32:04.902293 | Thomasina | pythondev_help_Thomasina_2017-07-12T10:32:04.902293 | 1,499,855,524.902293 | 84,859 |
pythondev | help | <@Meg> So gunicorn takes care of this process splitting and such? | 2017-07-12T10:32:49.933105 | Thomasina | pythondev_help_Thomasina_2017-07-12T10:32:49.933105 | 1,499,855,569.933105 | 84,860 |
pythondev | help | correct | 2017-07-12T10:33:04.943576 | Meg | pythondev_help_Meg_2017-07-12T10:33:04.943576 | 1,499,855,584.943576 | 84,861 |
pythondev | help | DO for personal but if you are new to AWS you can get a year free of their micro-instances which is really nice. | 2017-07-12T10:35:48.051610 | Johana | pythondev_help_Johana_2017-07-12T10:35:48.051610 | 1,499,855,748.05161 | 84,862 |
pythondev | help | <https://aws.amazon.com/free/> | 2017-07-12T10:36:41.087147 | Johana | pythondev_help_Johana_2017-07-12T10:36:41.087147 | 1,499,855,801.087147 | 84,863 |
pythondev | help | > These free tier offers are only available to new AWS customers, and are available for 12 months following your AWS sign-up date. When your 12 month free usage term expires or if your application use exceeds the tiers, you simply pay standard, pay-as-you-go service rates (see each service page for full pricing details). Restrictions apply; see offer terms for more details. | 2017-07-12T10:37:04.101731 | Johana | pythondev_help_Johana_2017-07-12T10:37:04.101731 | 1,499,855,824.101731 | 84,864 |
pythondev | help | And is the benefit of using blueprints solely to help with avoiding circular import issues? | 2017-07-12T10:38:45.167522 | Thomasina | pythondev_help_Thomasina_2017-07-12T10:38:45.167522 | 1,499,855,925.167522 | 84,865 |
pythondev | help | if you don’t have a lot of experience with all that stuff I’d say Heroku can be a good first step | 2017-07-12T10:38:58.175939 | Junita | pythondev_help_Junita_2017-07-12T10:38:58.175939 | 1,499,855,938.175939 | 84,866 |
pythondev | help | as matt said, infrastructure as a service makes things nice and easy | 2017-07-12T10:39:19.189905 | Junita | pythondev_help_Junita_2017-07-12T10:39:19.189905 | 1,499,855,959.189905 | 84,867 |
pythondev | help | <@Thomasina> - no, blueprints are just a good way to break up your app into components and separate concerns. | 2017-07-12T10:39:32.198198 | Beula | pythondev_help_Beula_2017-07-12T10:39:32.198198 | 1,499,855,972.198198 | 84,868 |
pythondev | help | They can help with the import issue since you decorate the route with `@bp.route` instead of `@app.route` though | 2017-07-12T10:40:07.220770 | Beula | pythondev_help_Beula_2017-07-12T10:40:07.220770 | 1,499,856,007.22077 | 84,869 |
pythondev | help | <@Beula> the breaking up an app into components thing sounds like good OOP really. So blueprints somehow extend this concept? | 2017-07-12T10:41:53.291661 | Thomasina | pythondev_help_Thomasina_2017-07-12T10:41:53.291661 | 1,499,856,113.291661 | 84,870 |
pythondev | help | I'd say it's more about general modularity than OOP | 2017-07-12T10:42:09.302115 | Gabriele | pythondev_help_Gabriele_2017-07-12T10:42:09.302115 | 1,499,856,129.302115 | 84,871 |
pythondev | help | Ah, ok | 2017-07-12T10:43:08.340354 | Thomasina | pythondev_help_Thomasina_2017-07-12T10:43:08.340354 | 1,499,856,188.340354 | 84,872 |
pythondev | help | Also, I'm using Flask-restful so I don't have any route decorators, instead `api.add_resource(API_Users, '/users/')` :speak_no_evil: Not sure if that makes a difference in your example, <@Beula> | 2017-07-12T10:43:16.345608 | Thomasina | pythondev_help_Thomasina_2017-07-12T10:43:16.345608 | 1,499,856,196.345608 | 84,873 |
pythondev | help | I am not familiar with that one, but it looks like they probably build on top of blueprints and you have to register the `api` with your app | 2017-07-12T10:44:20.388905 | Beula | pythondev_help_Beula_2017-07-12T10:44:20.388905 | 1,499,856,260.388905 | 84,874 |
pythondev | help | Register the api? Sorry... I'm not sure if I understand. :disappointed: "Register"? Which `api` might that be? | 2017-07-12T10:46:27.475251 | Thomasina | pythondev_help_Thomasina_2017-07-12T10:46:27.475251 | 1,499,856,387.475251 | 84,875 |
pythondev | help | Ah, no you use `Api(app)` or `api = Api(); api.init_app(app)` | 2017-07-12T10:47:06.501700 | Beula | pythondev_help_Beula_2017-07-12T10:47:06.501700 | 1,499,856,426.5017 | 84,876 |
pythondev | help | That is what I was looking for | 2017-07-12T10:47:12.505743 | Beula | pythondev_help_Beula_2017-07-12T10:47:12.505743 | 1,499,856,432.505743 | 84,877 |
pythondev | help | ```
api = Api(app)
class HelloWorld(Resource):
def get(self):
return {'hello': 'world'}
api.add_resource(HelloWorld, '/')
``` | 2017-07-12T10:47:49.531345 | Johana | pythondev_help_Johana_2017-07-12T10:47:49.531345 | 1,499,856,469.531345 | 84,878 |
pythondev | help | api = Api(app) is registering api with app, no? | 2017-07-12T10:48:37.563178 | Johana | pythondev_help_Johana_2017-07-12T10:48:37.563178 | 1,499,856,517.563178 | 84,879 |
pythondev | help | Ah, yes, that's right. I guess it's the "you have to register the `api` with your app"...this is what I'm already doing, right? I'm not sure if it was meant that I need to do this (e.g. I haven't done it) or if it's just being stated that I was required to do this... | 2017-07-12T10:50:23.633909 | Thomasina | pythondev_help_Thomasina_2017-07-12T10:50:23.633909 | 1,499,856,623.633909 | 84,880 |
pythondev | help | to do this with a blueprint you can do:
```
#extensions.py
api = Api()
```
```
from extensions import api
bp = Blueprint('api', __name__, url_prefix='/api/v1')
api.init_app(bp)
class HelloWorld(Resource):
def get(self):
return {'hello': 'world'}
api.add_resource(HelloWorld, '/')
``` | 2017-07-12T10:53:33.762705 | Johana | pythondev_help_Johana_2017-07-12T10:53:33.762705 | 1,499,856,813.762705 | 84,881 |
pythondev | help | Guys, hi
I have searched for it a little bit, but still dont find information
When I write a custom path in django logging settings like ‘filename’: ‘logs/main.log’ a error occur saying that there is no such file
Am I really should create it manually? Or there is a way it can be done automatically, if no such file exist? | 2017-07-12T11:00:36.059737 | Danille | pythondev_help_Danille_2017-07-12T11:00:36.059737 | 1,499,857,236.059737 | 84,882 |
pythondev | help | <@Johana> Oh nice! Thanks for the example! Makes a lot more sense to me now. | 2017-07-12T11:00:38.061646 | Thomasina | pythondev_help_Thomasina_2017-07-12T11:00:38.061646 | 1,499,857,238.061646 | 84,883 |
pythondev | help | So I guess I should dive into learning to implement gunicorn, blueprints, and app factory patterns now. Thanks for the help guys! I can't tell you how much I appreciate it. | 2017-07-12T11:01:10.084009 | Thomasina | pythondev_help_Thomasina_2017-07-12T11:01:10.084009 | 1,499,857,270.084009 | 84,884 |
pythondev | help | i haven’t updated this in a while but it’s a good approach to using blueprints and app factory pattern. <https://github.com/mikefromit/real_world_flask> | 2017-07-12T11:01:24.093910 | Johana | pythondev_help_Johana_2017-07-12T11:01:24.093910 | 1,499,857,284.09391 | 84,885 |
pythondev | help | i had many ideas for it initially but it was pushed up mainly to help someone who had a project structure question. | 2017-07-12T11:01:54.115493 | Johana | pythondev_help_Johana_2017-07-12T11:01:54.115493 | 1,499,857,314.115493 | 84,886 |
pythondev | help | Here is another take, but it's a cookiecutter so slightly less obvious to read: <https://github.com/mrasband/cookiecutter-flask> | 2017-07-12T11:02:37.145866 | Beula | pythondev_help_Beula_2017-07-12T11:02:37.145866 | 1,499,857,357.145866 | 84,887 |
pythondev | help | mine is slightly based off mattupstates blog article <http://mattupstate.com/blog/how-i-structure-my-flask-applications/> | 2017-07-12T11:03:25.178566 | Johana | pythondev_help_Johana_2017-07-12T11:03:25.178566 | 1,499,857,405.178566 | 84,888 |
pythondev | help | i asked him tons of questions about his structure in the #pocoo channel on irc. | 2017-07-12T11:03:51.196113 | Johana | pythondev_help_Johana_2017-07-12T11:03:51.196113 | 1,499,857,431.196113 | 84,889 |
pythondev | help | this was when i was learning flask. i don’t use everything he does. | 2017-07-12T11:04:20.215708 | Johana | pythondev_help_Johana_2017-07-12T11:04:20.215708 | 1,499,857,460.215708 | 84,890 |
pythondev | help | I guess adding a procfile to either/both would help newbies that use heroku, even if they don't use heroku it at least shows the "prod command" | 2017-07-12T11:04:49.235368 | Beula | pythondev_help_Beula_2017-07-12T11:04:49.235368 | 1,499,857,489.235368 | 84,891 |
pythondev | help | flask project structure is interesting and i have found that even my own has evolved over time as i pick up new conventions. i do run several flask apps in production for my organization. one of them runs our biglearn platform and is very similar to the link i posted. | 2017-07-12T11:07:23.339644 | Johana | pythondev_help_Johana_2017-07-12T11:07:23.339644 | 1,499,857,643.339644 | 84,892 |
pythondev | help | it powers this guy: <https://openstax.org/openstax-tutor> | 2017-07-12T11:08:44.393353 | Johana | pythondev_help_Johana_2017-07-12T11:08:44.393353 | 1,499,857,724.393353 | 84,893 |
pythondev | help | i don’t mention that to toot my own horn. i just happen to love flask and i want to assure everyone that it can run enterprise level stuff. | 2017-07-12T11:10:13.453210 | Johana | pythondev_help_Johana_2017-07-12T11:10:13.453210 | 1,499,857,813.45321 | 84,894 |
pythondev | help | <@Ciera> re: github api
did you find out if you can invite a user to a team if they haven't joined the organization yet? | 2017-07-12T11:18:01.767779 | Alba | pythondev_help_Alba_2017-07-12T11:18:01.767779 | 1,499,858,281.767779 | 84,895 |
pythondev | help | Yeah it's not possible | 2017-07-12T11:18:48.799903 | Ciera | pythondev_help_Ciera_2017-07-12T11:18:48.799903 | 1,499,858,328.799903 | 84,896 |
pythondev | help | <@Noemi> no clue. but I would suggest you have your dev and deployment environments on the same OS | 2017-07-12T11:21:34.911727 | Meg | pythondev_help_Meg_2017-07-12T11:21:34.911727 | 1,499,858,494.911727 | 84,897 |
pythondev | help | and if you can't, use docker or vagrant to do so | 2017-07-12T11:21:44.918368 | Meg | pythondev_help_Meg_2017-07-12T11:21:44.918368 | 1,499,858,504.918368 | 84,898 |
pythondev | help | then you would avoid OS-distinct issues like this | 2017-07-12T11:21:58.928493 | Meg | pythondev_help_Meg_2017-07-12T11:21:58.928493 | 1,499,858,518.928493 | 84,899 |
pythondev | help | <@Noemi> are you running the tests in both instances from the root of the api_tests folder? | 2017-07-12T11:24:16.020575 | Junita | pythondev_help_Junita_2017-07-12T11:24:16.020575 | 1,499,858,656.020575 | 84,900 |
pythondev | help | A possible exception would be Java webapps where you're using Tomcat/Jetty/some other container | 2017-07-12T11:24:18.021993 | Meg | pythondev_help_Meg_2017-07-12T11:24:18.021993 | 1,499,858,658.021993 | 84,901 |
pythondev | help | <@Junita> yes, root of the directory | 2017-07-12T11:25:27.068517 | Noemi | pythondev_help_Noemi_2017-07-12T11:25:27.068517 | 1,499,858,727.068517 | 84,902 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.