Do all the databases work the same in django?
I think this is a stupid question but i have to ask. I'm a total noob and just started working on django. It keeps scaring by saying over and over again that we should use other databases for larger projects.
Honestly, i have no clue what this means. Moreover i don't have any experience with databases. I started learning python 3 months ago and now i'm thinking i should try django.
What i want to know is if the databases work the same in django? Like will sqlite3 and postgresql work the same or will i have to learn something before doing it? And should i learn databases before learning django or not? IT would help me alot if anyone could clear these things up for me.
/r/djangolearning
https://redd.it/6zlhs6
I think this is a stupid question but i have to ask. I'm a total noob and just started working on django. It keeps scaring by saying over and over again that we should use other databases for larger projects.
Honestly, i have no clue what this means. Moreover i don't have any experience with databases. I started learning python 3 months ago and now i'm thinking i should try django.
What i want to know is if the databases work the same in django? Like will sqlite3 and postgresql work the same or will i have to learn something before doing it? And should i learn databases before learning django or not? IT would help me alot if anyone could clear these things up for me.
/r/djangolearning
https://redd.it/6zlhs6
reddit
Do all the databases work the same in django? • r/djangolearning
I think this is a stupid question but i have to ask. I'm a total noob and just started working on django. It keeps scaring by saying over and over...
A series of notebooks that help teach kids principles of programming, python and maths.
https://github.com/mikkokotila/jupyter4kids
/r/IPython
https://redd.it/6zo3kj
https://github.com/mikkokotila/jupyter4kids
/r/IPython
https://redd.it/6zo3kj
GitHub
eka-foundation/numerical-computing-is-fun
Learning numerical computing with notebooks for all ages. - eka-foundation/numerical-computing-is-fun
Security best practices for Javascript generated field.
I'm using flask_wtf FlaskForm. I would like to sanitize string user input for a JavaScript generated form field. Now there are plenty of external libraries to do this, but I was hoping to find a way within the existing libraries. Any ideas?
/r/flask
https://redd.it/6zngt3
I'm using flask_wtf FlaskForm. I would like to sanitize string user input for a JavaScript generated form field. Now there are plenty of external libraries to do this, but I was hoping to find a way within the existing libraries. Any ideas?
/r/flask
https://redd.it/6zngt3
reddit
Security best practices for Javascript generated field. • r/flask
I'm using flask_wtf FlaskForm. I would like to sanitize string user input for a JavaScript generated form field. Now there are plenty of external...
Linking results to a notebook
In my work, I do a lot of 'misc' data analysis..and I often am in a situation where I send out results, then a month later, someone asks me to rerun or change something etc... what bugs me is not having to figure out which notebook produced a given results file. has anyone thought of a good system for this? I have thought of including the notebook name as part of the results filename..or maybe somehow including the notebook name in header data depending on the file type. I'd love to hear some recommendations.
/r/IPython
https://redd.it/6zpmbh
In my work, I do a lot of 'misc' data analysis..and I often am in a situation where I send out results, then a month later, someone asks me to rerun or change something etc... what bugs me is not having to figure out which notebook produced a given results file. has anyone thought of a good system for this? I have thought of including the notebook name as part of the results filename..or maybe somehow including the notebook name in header data depending on the file type. I'd love to hear some recommendations.
/r/IPython
https://redd.it/6zpmbh
reddit
Linking results to a notebook • r/IPython
In my work, I do a lot of 'misc' data analysis..and I often am in a situation where I send out results, then a month later, someone asks me to...
What's everyone working on this week?
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your current project or your pet project; whatever you want to share.
/r/Python
https://redd.it/6zn6fy
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your current project or your pet project; whatever you want to share.
/r/Python
https://redd.it/6zn6fy
reddit
What's everyone working on this week? • r/Python
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your...
Any IDE I can use to quickly create python GUIs
Simple question, does anyone know of any IDE I can use to quickly and easily create a GUI interface using python?
/r/Python
https://redd.it/6zre9p
Simple question, does anyone know of any IDE I can use to quickly and easily create a GUI interface using python?
/r/Python
https://redd.it/6zre9p
reddit
Any IDE I can use to quickly create python GUIs • r/Python
Simple question, does anyone know of any IDE I can use to quickly and easily create a GUI interface using python?
This media is not supported in your browser
VIEW IN TELEGRAM
A new version of Wilson's uniform spanning tree algorithm and BFS search animation made with pure python
/r/Python
https://redd.it/6zsvt7
/r/Python
https://redd.it/6zsvt7
Image Recognition with Python, Clarifai and Twilio
https://www.youtube.com/watch?v=MTVS2T8sjFA&feature=youtu.be
/r/Python
https://redd.it/6zn37m
https://www.youtube.com/watch?v=MTVS2T8sjFA&feature=youtu.be
/r/Python
https://redd.it/6zn37m
YouTube
Not Hot Dog via MMS with Clarifai Image Recognition and Python
Let’s see if we can use Clarifai to recreate the Not Hot Dog app made famous by HBO’s Silicon Valley. We’ll use Twilio MMS (https://www.twilio.com/docs/api/r...
Code Review request
Would anyone be kind enough to review my project.
It's...rather large and most of it is in spanish (well, spanglish). Do have a readme that I think covers most of it.
https://github.com/DullBlade0/neo-sigia
/r/djangolearning
https://redd.it/6zf3vz
Would anyone be kind enough to review my project.
It's...rather large and most of it is in spanish (well, spanglish). Do have a readme that I think covers most of it.
https://github.com/DullBlade0/neo-sigia
/r/djangolearning
https://redd.it/6zf3vz
GitHub
DullBlade0/neo-sigia
neo-sigia - Final Uni Project
How to write nested API using Django REST Framework - Part 1
http://blog.apptension.com/2017/09/13/simple-nested-api-using-django-rest-framework/?utm_source=reddit.com&utm_medium=referral&utm_campaign=reddit
/r/django
https://redd.it/6zu06q
http://blog.apptension.com/2017/09/13/simple-nested-api-using-django-rest-framework/?utm_source=reddit.com&utm_medium=referral&utm_campaign=reddit
/r/django
https://redd.it/6zu06q
Apptension
Simple Nested API Using Django REST Framework
In this article you will learn how to build a simple REST API using Django REST Framework. The code in this article was written with Python 3.6, Django 1.11 and DRF 3.6 in mind.
Hey I created my first web app with django and react, on this board you will find all videos, articles and tutorials I used to learn both frameworks
https://mindweb.network/board/build-a-webapp-with-django-and-reactjs
/r/Python
https://redd.it/6zuxbu
https://mindweb.network/board/build-a-webapp-with-django-and-reactjs
/r/Python
https://redd.it/6zuxbu
MindWeb
Build a webapp with Django and React.js
These materials were used by a total beginner to learn progr
ValueError: Unhandled pending operations for models
ValueError: Unhandled pending operations for models:
lists.list (referred to by fields: items.Item.list)
I'm getting this error when I try to migrate. I realized that it recently started happening after I installed django tastypie and started using it to make my API. Not sure what the error is exactly I haven't really modified my models much since then.
/r/django
https://redd.it/6zy179
ValueError: Unhandled pending operations for models:
lists.list (referred to by fields: items.Item.list)
I'm getting this error when I try to migrate. I realized that it recently started happening after I installed django tastypie and started using it to make my API. Not sure what the error is exactly I haven't really modified my models much since then.
/r/django
https://redd.it/6zy179
reddit
ValueError: Unhandled pending operations for models • r/django
ValueError: Unhandled pending operations for models: lists.list (referred to by fields: items.Item.list) I'm getting this error when I try to...
[D] openAI closing down gym toolkit website
If you go to https://gym.openai.com/ now it just redirects you to their github repo. There was no official statement about it, the site just went down out of the blue. Only source about it actually closing down right now is Greg Brockman's reply on twitter.
https://twitter.com/gdb/status/907855318591438848
> Yep, the Github repo has been the focus of the project for the past year. The Gym site looks cool but hasn't been maintained.
It is really sad news for me personally. The companion website was very useful, both as a benchmark and source of information on practical algo implementations and tricks via writeups. Greg mentioned lack of maintenance, but it I think it was good enough for what it offered.
Maybe if community lets openAI know website will be missed they'll reconsider?
/r/MachineLearning
https://redd.it/6zvlm2
If you go to https://gym.openai.com/ now it just redirects you to their github repo. There was no official statement about it, the site just went down out of the blue. Only source about it actually closing down right now is Greg Brockman's reply on twitter.
https://twitter.com/gdb/status/907855318591438848
> Yep, the Github repo has been the focus of the project for the past year. The Gym site looks cool but hasn't been maintained.
It is really sad news for me personally. The companion website was very useful, both as a benchmark and source of information on practical algo implementations and tricks via writeups. Greg mentioned lack of maintenance, but it I think it was good enough for what it offered.
Maybe if community lets openAI know website will be missed they'll reconsider?
/r/MachineLearning
https://redd.it/6zvlm2
SpeechPy - A Library for Speech Processing and Recognition
https://github.com/astorfi/speechpy
/r/Python
https://redd.it/6zzqvi
https://github.com/astorfi/speechpy
/r/Python
https://redd.it/6zzqvi
GitHub
GitHub - astorfi/speechpy: :speech_balloon: SpeechPy - A Library for Speech Processing and Recognition: http://speechpy.readth…
:speech_balloon: SpeechPy - A Library for Speech Processing and Recognition: http://speechpy.readthedocs.io/en/latest/ - astorfi/speechpy
Decorating: Literally decorating your terminal with decorators
https://github.com/ryukinix/decorating/tree/master
/r/Python
https://redd.it/6zzom9
https://github.com/ryukinix/decorating/tree/master
/r/Python
https://redd.it/6zzom9
GitHub
ryukinix/decorating
decorating: Literally decorating your terminal with decorators
Django Girls Impact Report 2016-2017
https://djangogirls.org/2016-2017/
/r/Python
https://redd.it/6zx8b6
https://djangogirls.org/2016-2017/
/r/Python
https://redd.it/6zx8b6
djangogirls.org
Django Girls Impact Report 2016-2017
Thanks to the organizers, coaches, and volunteers in countries all over the world, 2016-2017 was an absolutely incredible year for Django Girls. Read all about our challenges and achievements from 2016-2017.
[AF][flask-mail]Recursion error on flask-mail connection attempt
I'm getting a recursion error when I attempt to connect to my hMail server that I set up for testing purposes. Both my Flask server and hMail server are on the same computer at 127.0.0.1. The traceback is as follows:
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "C:\Users\LaNoktaTempesto\myapp\helpers.py", line 47, in send_notice
self.send_message(message)
File "c:\users\LaNoktaTempesto\appdata\local\programs\python\python36-32\lib\site-packages\flask_mail.py", line 502, in send_message
self.send(Message(*args, **kwargs))
File "c:\users\LaNoktaTempesto\appdata\local\programs\python\python36-32\lib\site-packages\flask_mail.py", line 491, in send
with self.connect() as connection:
File "c:\users\LaNoktaTempesto\appdata\local\programs\python\python36-32\lib\site-packages\flask_mail.py", line 506, in connect
app = getattr(self, "app", None) or current_app
File "c:\users\LaNoktaTempesto\appdata\local\programs\python\python36-32\lib\site-packages\flask_mail.py", line 574, in __getatt
r__
[Previous line repeated 319 more times]
RecursionError: maximum recursion depth exceeded
I don't seem to be finding anyone else having this problem, and as I am a beginner, I'm not sure where to start debugging this issue.
/r/flask
https://redd.it/7009m2
I'm getting a recursion error when I attempt to connect to my hMail server that I set up for testing purposes. Both my Flask server and hMail server are on the same computer at 127.0.0.1. The traceback is as follows:
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "C:\Users\LaNoktaTempesto\myapp\helpers.py", line 47, in send_notice
self.send_message(message)
File "c:\users\LaNoktaTempesto\appdata\local\programs\python\python36-32\lib\site-packages\flask_mail.py", line 502, in send_message
self.send(Message(*args, **kwargs))
File "c:\users\LaNoktaTempesto\appdata\local\programs\python\python36-32\lib\site-packages\flask_mail.py", line 491, in send
with self.connect() as connection:
File "c:\users\LaNoktaTempesto\appdata\local\programs\python\python36-32\lib\site-packages\flask_mail.py", line 506, in connect
app = getattr(self, "app", None) or current_app
File "c:\users\LaNoktaTempesto\appdata\local\programs\python\python36-32\lib\site-packages\flask_mail.py", line 574, in __getatt
r__
[Previous line repeated 319 more times]
RecursionError: maximum recursion depth exceeded
I don't seem to be finding anyone else having this problem, and as I am a beginner, I'm not sure where to start debugging this issue.
/r/flask
https://redd.it/7009m2
reddit
[AF][flask-mail]Recursion error on flask-mail connection... • r/flask
I'm getting a recursion error when I attempt to connect to my hMail server that I set up for testing purposes. Both my Flask server and hMail...
How to change directory inside a notebook ?
My project directory typically look like this :
home/
├── data/
│ ├── some.csv
│ ├── another.csv
│ └── etc.csv
├── notebook/
│ ├── myproject.ipynb
│ └── testing.ipynb
└── src/
└── script.py
I have set my configuration to launch my notebook in the home directory. Although I am having trouble properly loading files from the data directory.
My big challenge is that I am using Windows, Linux and Mac. I've used the OS module but my code doesn't work will all OS.
I can't find the universal code that would allow me to move from the notebook to the data.
Any help ?
/r/IPython
https://redd.it/702c9h
My project directory typically look like this :
home/
├── data/
│ ├── some.csv
│ ├── another.csv
│ └── etc.csv
├── notebook/
│ ├── myproject.ipynb
│ └── testing.ipynb
└── src/
└── script.py
I have set my configuration to launch my notebook in the home directory. Although I am having trouble properly loading files from the data directory.
My big challenge is that I am using Windows, Linux and Mac. I've used the OS module but my code doesn't work will all OS.
I can't find the universal code that would allow me to move from the notebook to the data.
Any help ?
/r/IPython
https://redd.it/702c9h
reddit
How to change directory inside a notebook ? • r/IPython
My project directory typically look like this : home/ ├── data/ │ ├── some.csv │ ├── another.csv │ └── etc.csv ├──...