Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "django"
-
Colleague: "Python is slow..too much slow."
Then I look at the code:
Eight nested for loops, inside two of them, two function calls and three list comprehension. That function has 2 nested loops and two "objects.all()" Django method, plus a list comprehension too..
Yep, Python is slow.20 -
JUST GOT MY LAST EXAM RESULTS! FINALLY COMPLETED MY SOFTWARE ENGINEERING DEGREE!!!
WOOOOOOOOOOOOHOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
The struggle was real.9 -
Spent hours finding the problem in code. Suddenly something happens! Code works! Now I'm spending hours finding what made it work.3
-
First step to learning Django. Wish me luck!
Trying new stuff always excites me and anxious at the same time.15 -
Weekend weekend weekend. Yay!
After hard week at uni, took a day off and I am in bed since morning 😁
So I decided to find some kind of "dev social app" and got this. Not bad at all!
I am also fairly new at web development, using Python - at the moment Flask, later on Django so I am looking forward to meet some Flask/Django users here :)
And I just wanna add some wisdom here:)7 -
Learns Python and PHP, polishes his Codeigniter and Django skills, goes for interview as advertised.
Panel: So Underscore.JS
Me: 😳😰🚶1 -
Was working on a Django thing (server-side, so no dynamicness as far as I'm aware?) under a contractor at my company.
Needed a popup to display results of a subprocess, so I asked "We're going to need to AJAX it, right?" and give brief justification. Guy says no - pretty much "Django 10/10 supports this, let me Google". Proceeds to send me a link to a python package that enables using popups as a way of inputting values for form fields. I see as much on the couple of images for the package demo/introduction, so I'm kind of just like "It doesn't look like it's what we need though..." But the guy says to trust him, and implement it.
A day later, after scrutinizing the demo code, and trying to figure out how to implement the package, I go back to him and say "I really really really don't think this is going to work" and give the same justification from the day before. He opens the demo code himself and follows the long trail of confusing methods and stuff.
After an hour of my sitting there watching him read the code and disappearing for 10 minute periods a few times, he comes to the conclusion "Okay you need to understand the code to implement it. But go ahead and use AJAX"
This is abridged and a few other super annoying things have been cut out, but I TRUSTED HIM.
I. TRUSTED. HIM.3 -
My CV shows that I have experience with Java and also python scripting but I keep getting calls about Javascript positions..... Cmon HR you better than that...2
-
Was looking at the TV schedule and saw that django unchained was on and for two seconds I actually thought that it was going to be a documentary on Python and developing web applications with django3
-
Thanks Django for this very elaborate error message. It's not like I spent the last 3 hours trying to debug it or anything.12
-
Uhhhh VSCode django extension, I appreciate the highlighting of the link to the documentation, but maybe it is overdone?
-
Im oficial! After one year of studying python / django I received an acceptance letter today. When I began, I didnt expected it would be so soon.
It's not my first job, but my first one as developer (will be doing stuff with python / django / pandas)
So Im happy...! Which is rare for me8 -
Some lunatic apparently created a package and named it "django-restframework" (notice the hyphen?) and not the conventional, popular "djangorestframework" that we all know and love.
I made a mistake to install the former and after installing with pip and saving in my requirements.txt file it read "django-restframework==0.0.1"
I looked at the version number and initially thought "hmm, well that's odd" but didn't pay much attention to it cos I was trying to get started really quickly.
Long story short, I just spent the past hour trying to understand why I was getting a ModuleNotFoundError: No module named 'rest_framework' whenever I tried to execute my project.
🙂 thank you lunatic4 -
Looking at open positions, noticed that some of the jobs I've seen a year ago are still looking for an engineer with 2+ years of experience.....
Could of taken anyone and taught him everything you need already..... You had a full year SMH7 -
Saturday/Me:."Sure buddy I'll make a website for your company"
Monday/Him: "talked with 10 venues today, told them we'd be live Friday. How's the project going?"
... my first Django project and I'm also looking for new jobs/in school3 -
It's Friday night, I live alone.
Little bit of vodka, little bit of light reading of channels (the django web sockets interface), NOONE running about the apartment, all is quiet.
Bliss.
-- a dude only in his 20s...2 -
After getting a fund for my startup company as a PHP Developer, they changed the app to Django and fired all the Technology team. (O_o)7
-
ERROR MESSAGE:
<I am written in plain english>
<Here is the line number of the error>
<Here is the possible reason for the error>
Developer: What the heck is wrong with my code now. (looking at source)
ERROR MESSAGE:
<You incompetent piece of s**t, READ ME. F'n READ ME. Please READ ME. I promise, I be helpful.>
<Nope. You aren't gonna. Fine!> -
Django was the first web framework I learned. I didnt understood the praises for its documentation ... Until I started using Flask...3
-
hi guys, i'm django developer and i wanna learn android.
should i choose kotlin over java?
how is job vacancies?22 -
My job is so boring... they hired me to work front-end using Vue and I'm doing back-end using Django.
I found myself so bored I think about creating an app called Big Dick Energy - A Dick Contest when I'm close to comatose.2 -
When a recruiter sends a highly personalized email for an exciting Job opportunity:
Dear Django,
....
My name is Theo by the way4 -
!rant
Just started an internship at a well put-together startup and ended up being in charge of project management as well. Having so much fun learning to be more independent and be a likeable manager. The tech stack in the tag.3 -
Started learning Django yesterday evening. Great experience till now.
Particularly, this feature blew my mind. What a great framework!3 -
#usr/bin/rant
I'm working on this super fun project in which we can combine the newest technologies, and some not so new but fun to use, we are doing it with docker, ASP.Net core, Angular2, and suddenly the system maintenance guy from the client sends us an email like:
- Just wondering which content management system are you going to use currently we are using WordPress, Orange and Django which ease a lot adding new features and sections
So the PM and me are frustrated and scared that we are going to be forced to use something awful just to please this guy.5 -
Add more RAM. Computer won't turn on, reseting CMOS from motherboard jumper, everything works fine.
Feelings satisfied and everyone is in shock from the "jumper" method.1 -
-Writes a function that I'm going to schedule for django.
-works in development.
-adds it to production cron using django-crontab
-not working.
-spends 3 hours editing code, searching for similar problems and reading documentations but find nothing wrong and it's still not working.
-maybe it's django-crontab so I decide to just write a custom management command and call it through cron.
-still not working.
-calls function using what I'm telling cron to do.
-everything works.
-?????????
-adds logs to cron command (sorry for not making it earlier)
-mfw the code is not working because I imported 'patterns' in urls.py which has been deprecated since django 1.8 -
Dear PyCharm,
When you decide to change the default templating language from Django to Jinja2, please tell me.
You owe me for psychiatrist bills2 -
What the fuck is Django doing other than trying to act like a Fortran developer rewriting Rails in a different language.1
-
Need Django developers to contribute to keralarescue.in, a website which is helping countless people in the state of Kerala, India who are facing deadly floods.
-
Once you get the hang of Django it's incredible how fast you can work with it. Suddenly the idea I had is becoming a reality 😄3
-
After coaching for Django Girls organization and GirlScript Summer of Code, it can be known I clearly have a thing for Django. So I decided to make a new Portfolio from scratch and this time, using Django (seemed a good idea as I wanted to migrate my blogs from Medium to the portfolio).
So, I made the project, got a domain name and hosted it on Heroku. Then it struck me to make my portfolio open source so everyone can use it to make their own! I am looking forward to add a lot new features and improve the existing ones. Here’s a link to it: https://github.com/hmangukia/...
Do create an issue if you feel something needs to be improved!
Projects, Blogs and Social Media handles can be added from the admin panel. If the user does not have coding background, the installation process might be tough. That is why, I am looking forward to add the Sign Up functionality so that the user does not have to go through all that hassle of installing and hosting the project.
If you are wishing to use this to make your Portfolio, please go through the installation steps in readme.md. I would be more than happy to help you install and host on Heroku if you get stuck :)5 -
when u r hired as a django developer and told to learn php also in the first week. (gonna quit this job)4
-
I was recently hired as a front end dev for a certain project. The owner of the project already had a backend guy who apparently was almost done. The guy was using a django to develop the website and just when we were about to integrate the front-end and backend he fucking bailed out! Saying he had another project. So I downloaded his code from github so that I could complete the backend myself but holy fucks it was so horrible... This guy didn't even know what he was doing... Just creating a million django apps which didn't do shit.. Oh and did I mention he used django 1.1... Such a shit head! But good for me... I'll be the one getting paid for the whole thing...2
-
I'm currently trying to get better at python and to learn django. And here I am, following a c++ course I found on safari books.
Really, sometimes I don't know why I do certain things...2 -
Somehow, a contractor left with all our unit tests six months ago. I just inherited this project. It's 200kloc of Django spaghetti, and I have no unit tests.5
-
Django devs, prepare your eye bleach:
(I love that this is possible, but I really don't trust myself to wield the power of making things mutable at will...)7 -
!rant
Part of my job involves researching a shitload of documentation and tutorials in order to have an established and well tested point of refference for the rest of the team. As a Django guy, I have always been happy with the plethora of tutorials and what not made available for this amazing framework. Until recently I had absolutely no clue that MDN had their own Django tutorial and I must say....I am impressed! I seldom recommend something over the already great tutorial made available by the Django page itself, but this one by MDN really is worth considerind for people starting into the framework. One can even see the love that they have for the framework just by reading the tutorials.
Kudos to MDN for creating such a great resource!4 -
Am I the only one not enjoying Firebase realtime/cloud? Supposed to make it easier but eventually more complex than building rest in php/node js......2
-
I miss the old Version Control, copy pasting project folders with every single update, hiding them in different locations just in case some get deleted, then actually trying to find the latest one..... Good old days
Felt like them text RPG games with lots of endings1 -
A while ago, i decided to finally learn a bit about the web stack (especially django) and create my first web page. The image shows what it currently looks like.
I am actually very happy with the result. It will be my personal little Home automation software, with progressive apps etc. It runs on the pi plattform and can currently switch an IO to a Relais, which in turn switches on a light.
The applications of this are really endless, which is quite cool and leads me to do more stuff at my home with it. So dear devRant: Does anybody know of some nice hackable light bulbs/spots for my home that i can use? Or other cool hackable hardware that could be applied? -
When duel 24' monitors is not enough...
How does 3 work for you guys? Does your neck hurts moving around?
I had 5 at work but was mostly on 2 since other 3 for monitoring.10 -
A recruiter contacted me regarding Django Framework and asked me to complete one assignment in REST Framework as a recruitment process.
Haven't heard from them since then.2 -
Working on Django as a server side programming, and having a little bit work with htmls and JavaScript.
What I am called then ?
A. Software Developer
B. Backend software developer
C. Web developer
D. Other. Mention it13 -
In Django code, looking at a class for caching REST calls. The cache is using Redis via Django's cache layer. In order to store different sets of parameters, each endpoint gets a "master" cache, that lists the other Redis keys, so they can be deleted when evicting the cache. Something isn't right, though. The cache has steadily increased in size and slowed down since 2014 even though many events clear the whole thing!
... And then it hit me. Nothing empties the list of cache keys. Nothing. So it has been growing endlessly since 2014. And everytime it grows, cache eviction gets a little more expensive, network traffic increases a little more, and cache evictions get a little slower.
Fixing this bug took things that were taking routinely an entire minute to complete and made them take a couple seconds. -
You know that moment, when you look for something on wikipedia, and after few hiperlinks you are reading about influence of penguins on Mars' day length or othen nonsense?
Just happened to me like 4th time when reading Django documentation. It is so well written and easy to understand, that I just click and click and want to go deeper, and then realise I have to read what I need, because I never ever got to it in the first place.
Gotta love the people who make such docs. I never could, and prbly will.1 -
I take away a colligue from some bad PHP project and move all into Django. Now he has less white hairs2
-
My first job was adding features to a django app and deploying to Heroku. Learnt a lot from that startup in my home town Kakinada.2
-
My first django website going into dev environment. (Management portal for company's license management)
I know there will be a river of bugs but, still I'm happy.
Also, this was the first assignment on my first job. -
“Let’s spend two pages and 100 lines of code on bad practice before you learn good practice in 5 lines.”
Django (& REST) tutorials in a nutshell 🙄1 -
How does a person learn all these Dev ops/backend/frontend/mobile apps technology? I've been using Vagrant + Django mostly and I feel I'm so behind when people talk about AWS EB, Node, React, SASS, Less. Whelp2
-
What's your take on developing web with python (using Django for example)?
Coming from PHP, Symfony , etc, my first impressions are that it's clunky and very backend oriented.15 -
Tip: if you are doing a semi complex or complex query in Django and you have doubts print the SQL statement and analyze it. i.e print(queryset.query)
Just reduced a query to 1 join instead of two by just passing a list of int's instead of a list of objects. -
Deploying django in windows server 2019 using IIS. Why? Because client is a microsoft fanboy. Nothing is working till now.13
-
It's sad because Django is a really great framework, but I can't understand how their serializers work.
I finally tricked to make my own using JsonResponse and alternatives methods, but I can't see why there is "serializers", "DjangoJSONEncoder", "JsonResponse", "json.dumps" and so on...
The documentation doesn't explain much about it :/6 -
I don't like laptops, it just doesn't feel the same, too small, keyboard is meh I dunno... I like when the screen is in eye level but keyboard is lower.
Is it just me?
PC with 2/3 displays feels more natural to me.2 -
A question: what should i learn Nodejs or a Python Web framework (maybe django?)
I just want to learn :)10 -
Off late I've been having a lot of debate with my friend about using Flask over Django for prototyping some feature. I side with Flask, since the development time is much lesser than Django and doesn't need to follow a lot of rules.
Issue here is, I prefer flask and he prefers Django.
Need opinion on this sort of problem, where a prototype for a feature in a product has to be built. It maybe integrated into the end product, which is in Django, or may not be.5 -
Am I spoiled when I see how Django makes the separation of components and the database independent way to store migrations easy?4
-
I love Django. I really do. It's been fun to work with, and wrestle with, and beat my head over repeatedly. I really have enjoyed it. But why in the name of all that is even remotely holy must the URL documentation be so spotty? I finally did get my URL behavior to work, but now that I've created a view function for deleting objects in one of the models, the URL for the editing function breaks. All you do is click "edit" and it brings up this nice little form where you can edit the database entry by querying its ID number and then you can save that ModelForm and everything is fine. So the url scheme is http://foo.com/bar/edit/3/
Should work. Used to work. I swear it used to work, I pulled up an older commit and it works like a charm. Deleting works with that same url scheme.
http://foo.com/bar/delete/3/
deletes the object with id=3 no problem. The two URL schemes in urls.py match perfectly (except one says delete obviously).
But now something has gone and gotten ROYALLY derailed because every time I run that function, that CLEARLY PRESENT 3 is being passed as None. I thought, oh, maybe I rearranged the arguments and am passing in the wrong ID. Nope. Okay, so what if I mixed up the regex on the url? Nope. Matches. WHERE ARE YOU GETTING NONE FROM? I mean, I realize that's the default, but I'M PASSING AN ARGUMENT in.
{% url 'namespace:edit' id=object.id %}
breaks horribly whereas
{% url 'namespace:delete' id= object.id %} deletes the object just fine. Why, Django? We've been wrestling with this for hours. Give me a sign. Tell me what you want from me. I'll give it to you. I will. I promise. -
Any Django developer over here ? Can you suggest me some good resources to learn Django in short time ?4
-
Finally got Stripe charges to work, then changed it to make subscriptions work in the Django app I was working on for Capstones. At least in theory. Works locally, but hasn’t been merged into our Production branch yet, so there could be something missing.
Still, super happy to have finally crossed it off my mental to-do list. -
Just learnt Vue js. Now I need to learn a backend framework. Django or Node js? Which one should I learn?8
-
I was trying to learn HTML CSS so that I could become a fullstack developper yet felt so bored doing so I didn't like them at all, did anyone else go through this why learning them also? Think I'll stick to django.7
-
About two weeks ago, at my workplace, I learnt about Django deployment in Nginx server with Docker and Kubernetes on Google Cloud Console.1
-
How in the FUCK does the first tutorial on the django website not FUCKING WORK, i've spent the past 5 fucking days trying to get anything at all to work, but no 404 Errors when i follow the guide WORD FOR WORD, trawled through looking for spelling errors but nothing. Fuck This2
-
My work's website being unsupported with Django security patches. I bring this up with management and say we should upgrade ASAP. Apparently that wasn't possible because the sysadmins refused to upgrade their old version of RedHat so we can't use anything that doesn't support Python 2.6.... To this day it still runs on Django 1.6.2
-
Nine months learning django and react only to find a job that requires php and bootstrap 3... Omg how tf I'm gonna find time for all this?14
-
When I started developing my current Django project, I had decided to go full TDD, do it like a pro. But I stopped after some time, as I spent more time trying to make the website look right than trying to make the backend work, which always seems to work fine. Am I an idiot? I think I'm going to regret it...6
-
It depends! if u want the framework to be God then use Django, but if you want to be the God, then use Flask(but make sure you're a real God)15
-
Stop shoving Django admin down everyones throat as a client facing solution every time we need any admin functionality.
It’s great at first but then you have to dick around customising it when you could build the same thing with any modern frontend framework and REST API easily.
Not to mention Django admin couples the models to the view it provides you (inlining particular models given their relationships) -
~ I knew a little bit of Django ~
~ Now I know a little bit more ~
~ I used to like Python ~
~ Not so anymore ~
~ Why though ~
~ I don’t know ~
I use JS professionally and I have majorly coded in JS in personal projects but I always had this liking towards Python. Now, that feeling is gone. Python doesn’t seem that attractive. JS seems better.
One of the reasons, I feel, is the syntax. JS can fuck-up in places but that C-style syntax is love.
Another reason could be that I still don’t know that much Python or Django to make an opinion? Maybe. Probably.9 -
After a whole day struggling with routes to a Django-app I think I route myself to bed... *Mumbles "route me here route me there"*
-
I really love Django, but I feel like Python is not object oriented enough. I'm thinking about Play (the Java web framework). Any other suggestions?10
-
Leadership has decided we do only Django from now on if we do tailored software. My supressed rage when I just brought in tons of cash with not-Django tailored software.
How many big profitable companies got that big doing just one thing?1 -
Never in my life have i seen such a convoluted and complicated framework as Celery. Celery sucks donkey ass. That is all.2
-
I was planning a long rant about how AWS is so noob-unfriendly, but honestly I'm just tired after trying in vain to deploy a simple Django app on EBS with a simple RDS SQL db. Seven hours of not being able to deploy a simple Django app ffs 😭😭😭😭😭1
-
This Capstone group blows. There’s five of us in total, and only two of us are actually doing work on this fucking Django application.
Seriously, how hard is it to use Git and GitHub? I assigned a single page to a group member.. and what does this fucker do? Sends me the .html file on Slack.
And all that page consisted of was TWO JUMBOTRONS. None of the functionality I asked for was there whatsoever.
These people are seniors in an engineering school. Fuckssake, get your shit together.
Good thing the grades are based on commit history.2 -
Is django worth learning? What's the best backend framework according to you to make great software7
-
Wrote my first Medium article. What do you think about it? “Using UUIDs as primary keys” https://medium.com/@jdedek/...1
-
When we have Python,Ruby,Elixir,Scala,Clojure,Js
why we should use PHP LARAVEL ?
i cant understand persons which use php & laravel
why u use php or laravel ? how its possible to use php-laravel instead of cool things like Django -ROR ? Are u crazy ?13 -
After many days of trial and error,i finally found my preferred way of passing Django objects and variables to angularjs,now I can create killer apps with Django and angularjs.2
-
When I run tests, I like to enable the debug logging. All the SQL queries and template tracing just flies by. Freaks the others out.
-
Continuing my last random post. (Please don't bother to take a look at it.)
But, hey you. Yes you, get yourself one beer/whisky and cheers!!
Why? Because my first django project ran successfully in staging environment!! Ok, There were few little bugs. But I fixed most of them.
I don't drink. So please go and enjoy on behalf of me.
And don't drink too much. Keep one bottle for production deployment.
P.S. This is just a beginning of the new journey! Still, lot to learn and experience.1 -
just did quick look on post about some guy comparing Laravel vs Rails vs Django. His conclusion was Django is the toughest one to learn o_0. Funny thing is i found out it's bit off.3
-
After having struggled with trying to set up a server for my static files, I finally gave in and signed up for AWS S3. Why did I wait so long?1
-
Not a js expert. I'm trying to learn a new js framework so I'm stuck between angular and react. I'm a Django dev, so I'll be mostly using this framework in my Django apps. Which one should I learn? I'm migrating from jquery so please don't be harsh at me 😅7
-
I wish it was :
"URIs don't change, people change"
Original quote by Tim Berner Lee
(correct me if I am wrong)
Stumbled to this page while reading Django URL dispatchers... -
I want to develop a django quiz app which will show questions to all online users at same time and allot a short time slot(1min) for answering questions.
How can i do that?
Any kind of help/link/hint is appreciated.
Thanks in advance.3 -
Should I learn JS or Python?
Python is the better choice for ai as far as I know and I'm interested in learning Django. On the other hand Node.js is great for backend and servers.4 -
While learning a new platform online, adding several links to the bookmarks, oh that's nice I'll add that too, hey that could be helpful later 'click'.
Done learning after 2 months, pressing on the relevant bookmarks folder..... "Open all (289)?" damnit need another few weeks to clear it up and filter, ending with even more bookmarks.... -
I always feared databases, but Django makes it so comprehensible. I only have to define relationships, and everything else is taken care of under the hood. Love it!11
-
So guys... I’m pretty interested in web development and I have a bit of experience in php and I want to learn a python web framework. But I don’t know which framework to choose.
Flask or Django???
Any Suggestions???3 -
The first dev project, like real dev project, I participated in was a school one and it was double.
The class was meant to make us learn about the software's life cycle, so the teacher wanted us to develop a simple, yet complicated, thing: a Web platform to help tutors send/refer students to the university services (psychologist, nutriologist, etc) and to keep track of them visits.
We all agreed on it being easy.
Boy were we so wrong.
I was appointed as dev leader as well as some others (I was the programming leader, the other ones were the DB guy and the security guy) and as such I was in charge of the technology used (well, now we all know that the client is the one in charge of that as well as the designer) and I chose Django because we had some experience with it. We used it for the two projects the teacher asked us to do (the second one was to find a little shop and develop something for it, obviously with the permission and all that), but in the second one I decided to use React on top of Djangl, which ended being a really good combination tho.
So, in the first project, the other ones (all the classroom) started to discuss and decided to use some other stuff like unnecessary carousel for images, unnecessary functions, they created mock ups for stuff that was never there to begin with, etc. It was really awful, we had meetings with the client (the teacher) with updates on the project, and in not a single one he was satisfied with the results. But still, we continued with the path the majority chose and it was the worst: deadlines were not met, team members just vanished until the end of the semester, one guy broke his leg (and was a dev leader) and never said a word not did anything about the project. At the end, we presented literal garbage, the UI was awful, its colors were so ugly because we had to use the university official colors, the functionality was not there, there literally was a calendar to make appointments for the services (when did the client ask for that? No one knows), but hey, you could add services and their data to it, was it what the client wanted? Of course not! What do you think we are? Devs?
Suffice to say that, although we passed with good grades, the project and the team was shit (and I'm counting me in)
The good part is that the second project was finished by me and it looked really good, yet it didn't matter, the first project was supposed to be used by the university, but that thing was unusable.
Then, in the subsequent vacations I tried to make pretty and functional/usable, yet I failed because I had a deadline for another thing I had to do, but hey, the login screen looked amazing! -
HOLY FUCK I never thought that using async websockets in Django 3.x will be THAT much pain in the ass...
Also my next contribution will be their docs for sure, the examples are so fucking bad (linters are crying and begging me to kill them)3 -
I have to develop a simple Rest API in python. Any suggestions how to make it possible. I was thinking in traditional direction to setup Django. However, I think there must be a simple way to do this.
thanks.4 -
I was struggling to figure out why my Django template render wasn't working.was looking at code for hours.
Until I found that ,at the end of my render there was a comma making it a tuple.thats why it didn't damn work. -
Spending hours trying to make my Django site to work, only to realize that the local database has fewer items than the server database and that's causing the issue...
-
I find it insightful when people actually convert their rant into a knowledge bomb 💣💥😅 https://hackersandslackers.com/flas...
Finally getting to know clear advantages of "application factory" over how Flask apps are usually sugar-coated in scarce tutorials.
This article also points out one of the core problems with Flask documentation and, consequently, a public view on Flask's feature parity with Django.
Ever wondered why it's looked upon as not very strong rival to Django? That's documentation... again, we come to that 😔⌨️🗑 It stretches a lot of commentary and side notes, but forgets to mention best practices from community.rant overlooked patterns where are my blueprints monopoly of django poor documentation tutorial hell make factory great again flask python -
Until today
Get the pycharm annual subscription for 30% off!
Head to this link
https://jetbrains.com/pycharm/...
Disclaimer: I am not endorsed with Jetbrains s.r.o. or DSF in any way. -
When I thought that JavaScript was everything because of node modules, frameworks and such until I learnt Python and Django.
Although, I have been wrong before.3 -
Didn't imake it through my first telephone interview, lack of experience :((
Monday ill have a face to face with another company though ^^ wanna go jr py/django dev2 -
Keyboard.....
Which one? Mechanical? Regular?
Any recommendations? Only thing I need is it to be silent and not glow like a lamp. Mostly for coding work stuff, 0 gaming.11 -
Took the project for school for creating a personal Online judge just because I could make a polling web-app in Django.
Any ideas how to start?
It should start working from January, so any articles/blogs/tutorials are welcome.4 -
What is the use of Java nowadays besides Android? I rarely see Desktop apps written in Java and backends are developed more efficientl with django, node.js ,etc... just think about it setting up spring boot and all the warnings and errors...4
-
I spent 3 hours without find the bug on my code. I just found, I installed the library but not the plugin
Django + Django excel + pyexcel_xls
:( #WIN1 -
Django Logging im a nutshell:
Do something. Logging stops working. Revert. Loggin works now as wished.2 -
Started using Django today after working with rails for a long time. I like it so much more already.5
-
How to protect API endpoints from unauthorized usage by bots?
If the API end points are meant to be used by any incoming to CSR frontend user without prior registration?
So far, my the only idea is going from pure CSR React to something with partial SSR at least in Node.js, Django or any other backend framework. I would be able restricting some API endpoints usage to specific allowed server ip.
Next.js allows dynamically both things as well.
As alternative I have a guess to invent some scheme with temporally issued tokens... But all my scheme ideas I can break really easily so far.
Any options? If SSR is my only choice, what would you recommend as best option in already chosen Django and not decided fully front-end framework?
I have the most crazy idea to put some CSR frontend framework literally into my django backend and making initial SSR from it. The only thing its missing... my lack of skills how to use React, but perhaps I have enough time to get a hang of it.
SSRed frontend can be protected with captcha means at least.16 -
While working with Django Rest Framework, the Post and Delete requests were giving me 403 error. With no help from stack overflow, I decided in vain to check it with Firefox browser instead of Chrome.
IT FUCKING WORKS ON FIREFOX!! HOW THE FUCK??
Things like this are responsible for my mid life crisis.12 -
I almost looked for every possible source but is not satisfied or not found optimum way or path.
Actually i have to build a netflix clone (not exactly but a video on demand platform for one local client). The tech stack will be React at the frontend and DRF (Django Rest Framework) at the backend.
I know the node will match my purpose at best, but this needs to be done on DRF. How should I return the video, should I return it in bytes, packets and what can sample code look like, how frontend should fetch it. It will really help if you put your insight, in general. Thank you5 -
I am building a Django app where a function needs to be called asynchronously. I need to handle any interruptions like loss of internet connectivity during that time. How do I achieve this? Can anyone help?8
-
Hi folks,
I wanna start a project on Django and Python so that I can learn more developing things. Can anyone suggest an awesome project for me so that I can learn while doing things ?
Thanks !6 -
I love Django, the philosophy behind it and how smart it is. I hate the Python ecosystem. virtualenv and pip is really dump e.g.4
-
I am trying to learn Django. I worked with flask before and I am pretty good with flask. Now moving to Django seems overwhelming. Can anyone suggest a good place where I can understand django coming from flask's point of view ?2
-
Srsly Ansible/awx? No migrate scripts in a Django powered application? No one commits „python manage.py makemigrations“? 🤬
-
I made a Django webapp calles HoxNox. HoxNox is a simple 3 step portfolio generator. Please give it a try and then feedback.
Source code can be found at:
https://github.com/Anupam-dagar/...
Link for website is:
https://hoxnox.herokuapp.com6 -
A little help on Django
So I just started learning Python and Django Framework and I have one question...
Are the variables shared between visitors?
I mean, let's say I have a variable named "school"
school = "school1"
A visitor from X location enters and changes this variable to "school2". A new visitor enters the page from Y location and reads the variable 'school'. What is going to show on visitor Y? "school1" or "school2".2 -
Django vs laravel for restful api ? Or any other framework ?
With a lot of req per sec
I'm so comfortable with laravel but don't mind using Python
Tnx <35 -
Well Django, I think I've fucking HAD IT WITH YOUR STUPID FUCKING SHIT ALREADY.
./manage.py shell
In [1]: from inventory.models import ProductLine
In [2]: ProductLine
Out[2]: inventory.models.ProductLine
In [3]: ProductLine.objects
Out[3]: <django.db.models.manager.Manager at 0x7f03e23017b8>
SO WHY IN THE FUCKING FUCK DO I GET
"""
, in ProductLineViewSet
queryset = ProductLine.objects.all()
AttributeError: type object 'ProductLine' has no attribute 'objects'
"""
FUCK ME
I hope I just FORGET I am a programmer, wake up tomorrow free to go work at fucking McDonalds and die in mediocritity anyway. FIANLYL Get to catch up on fucking work and I have to diagnose this inane fuckign django model problem that I dont fucking see anywhere on google, SO, etc right now
Best I can find are all like "You've probably defined something else called <model class name> in that file." But Grep and I sure as fucking tits can't find it!!!!!
Time to fucking make an exact copy of everything but change it to ProductLine2 and watch it all work perfectly fucking hell am I really this stupid or am I going to eventually find a bug after hours of GETTING FUCKING NO WHERE OMN THE STRUPIDEST FUCKING SHUIT IVE EVER SEEN FUCK ME7 -
Just the other day,i was contemplating about using django or codeigniter for a large project i was going to work on,i ended up using codeigniter 😀4
-
8:43pm
Should I use django rest or graphene?
8.52
*Creates serializers and views*
9.32
I think mutations will work just fine
10:54
I don't need access to all models from the client
11:12
Let me start a new app and import models from the existing app
00:23
I am a programmer, I have no life. -
I'm Angularjs and .NET developer. I'm planning to learn addition skill / tool.
Options are:
1) MEAN Stack
2) React (and related)
3) ML / Data Science
4) Django
Why Mean?
Because it'd easy for me to grasp and I can easily get projects for it.
Why React?
Always curious about React, because of the hype maybe. But really wanna learn. And some gap for React developers.
Why ML/DS?
Tbh, I suck at Mathematics and Statistics. Why ML / DS just because it sound fascinating.
Why Django?
Enough with JS JS JS, what else?
Please give your suggestions :)6 -
Django was the first then meteor js snap my heart, a few years of love and hate relationship I finally realized phoenix was the one all a long even though I kept thinking about meteor js from time to time <34
-
So I'm a fullstack Python Dev & I wanted to learn Django Rest Framework so I can ease into making PWA. I figured let me learn it as I build out an MVP for a web app I'm creating...WRONG! This shit is mega annoying! It's taken much much more time than i'd like just to set up User sign up and sign in using a form based on the serializers. I started this project Friday....I still have no forms 😭😭...If i just had used Regular Django Models/Forms, an Ajax call here and there i wouldve been done!! What makes it worse is I feel I'm legit the only person having these issues...sheesh4
-
Solved django recruitment tests. Rejected because they seek someone who know django and I said I don’t know django cause I was using raw python, sql and writing async apps.
What I can say ? Thanks, lol3 -
Created a simple pip package to authenticate incoming slack requests. It provides an out of the box Django permission class to authenticate slack requests.
I've made it open for anyone to check out and use:
https://github.com/dev-prakhar/... -
Currently in a boot camp. Just finished with python/flask/django...during the html/css part of the camp I literally had "attack of the divs" nightmares.
-
Damnnn my Team lead is hinting that i write a test for the feature I paired with a team member.
But the large django code base is ridden with abstract classes and classes and inheritance etc...its going to be a long night -
Looks like this damn Django project template of mine doesn't update unless I completely restart the server.
-
So I finally got a client for my Django real estate platform.Meeting is tommorow.great thing is that the platform is built l just have to add requested features.wish me luck guys.i can probably score enough with this project to get me an lg ultrawide monitor.
-
Django and whitespace never get along😂😂
I always end up putting whitespace where the shouldn't be😁
But oh well... Since I started doing django.. Life has gotten much easier... -
I am a mobile dev. Wants to step into backend world by learning python.. django perhaps. I am not sure myself. If someone can point towards good tutorials or links, which takes low learning curve in picking up things.. Thanks.
P.s. I found django rest framework official tut site. Also agiliq.com3 -
Working for a company using Cobol > CGI > PHP > MySQL > Django, and once again another custom rolled framework with no documentation in PHP. Basically no desire, haha.
-
!rant
I did my resource and I know the differences between python vs php, but i still want to ask some of you that used bpth languages to know which one do you prefer for web developing. Python(django) vs php. (Please confirm your answer with real projects knowledge)10 -
I want to build my own REST NET API, I am familiar with C#. And I was working with Flask, Django and Express.js
The whole webapi structure of dotnet project seems to me a bit strange. Do you have any favourite resources that helped you to get into dotnet?6 -
I am shifted to Django for the new project from Laravel. I am shipping features so quick my boss thinks I was slacking off earlier. #django_for_life #python1
-
PHP: Laravel, Phalcon, Composer
JavaScript: Node.js, Express.js, Restify, Sequelize, AngularJS, React, npm, bower
Python: Django, Flask, Requests, pip, SQLAlchemy
Java: Spring, Dropwizard, Hibernate
DB: MySQL, MariaDB, PostgreSQL, Cassandra1 -
Django wont pick up migrations for this app. Nothing in dj migration table for the app. It just won't create the tables on staging.
My panic attack is over but Im still going to lose this client over this. -
Sent for an interview (I am a full stack python/django/Anguar/node Dev) within 5 minutes the guy tells me they don't even have python in their stack now, could I learn Go? Rendering 80% of my experience useless.2
-
Do you prefer audiobooks? Are you an active medium reader? Do you want audio for the medium articles you read? Are you out of your free medium articles?😢 My Scrapy is here for the rescue.💸
This is a simple application of web scraping, it scrapes the articles of medium and allows you to read or hear the article. If you use this on computer there will be a number of accents in the option.
The audio feature is provided only to the premium medium users, so here comes My Scrapy to save your 5$/month. 💸
.
Tech Stack used :
Python, beautiful soup, Django, speech synthesis
PS: This application was built for educational purpose.
Fun Fact: You can still read any medium articles if they are asking you to upgrade, you must be wondering how? Well, copy the link of the article and browse it in incognito mode on any browser or sign out and read it.😂🤣
githublink:
https://github.com/globefire/...
demo link:
https://youtube.com/watch/...
instagram link:
https://instagram.com/p/...3 -
What the differences in performance between Django REST, expressjs, spring boot and Flask. What of these frameworks recommend for an API for quickly development and hosting with a $5 -$10 droplet.3
-
hello guys
I recently learnt the django and im not an expert . I pushed a repository on my github
"pouria03".
and i just started to learn DRF(django rest framework) .
do you have any advice for me to help my progress?
I'll be thankful4 -
I learned Django which wasn't really interesting because I'm more interested in Data Science but my friends with me at the university think you cannot do Data Science without learning Web Development. Thoughts?10
-
Going to start learning ruby on Rails from the basics. Do I jump into rails or start with ruby. I am a django developer.4
-
I really love how quick it is to get data from SQL with Djangos ORM. But heaven forbid I want to do a WHERE EXISTS clause. Comparing against two tables should not be that hard....1
-
Reality > Perception (GitHub)
Vue.js has more stars than React.js
Flask has more stars than Django
Sometimes puzzled to guess who should be the industry leader1 -
So I came from a Laravel background, I love using it. I mean, Laravel is beautiful!
However, the city I want to move in have ZERO Laravel jobs, most of them are looking for Django and Rails developers. So already knowing Python, I decided to learn Django to get a job in that city and add it on my skillset.
I like it, I watched FCC's tutorial on Django, I'm ready to start and create my first Django project, was so excited and proud of myself until... I found out that:
1.) Django lacks built-in seeder
2.) It's confusing to customize the authentication function
3.) Styling of forms is in Python-level, not on template-level (unless you install a 3rd-party package)
4.) Integrating frontend framework requires manual setup
and many more...
I enjoy Python, and tbh I plan on making it my main language, but this is just... too frustrating. -
Just learned how to write Django apps... I think I'm going to have a harder time making the app look good with HTML. Thought I could just use a Jekyll template, yeah, seems to be a lot more work then it's worth.1
-
Django's Admin feels a bit off. Have you ever used Django and created a custom Dashboard for your customer?5
-
You'd think I'd fucking learn by now to check for typos before going off on a tangent of over complicated reasons why something may not be working... Learning python/django for the first time, and have been trying to figure out how to run gunicorn... turns out I was typing myproject.wgsi rather than myproject.wsgi...
Though I suppose not knowing about how python modules work added to my confusion... still... ugh... -
TLDR: Wrote a custom class for writing apibtest cases for a project with zero code test coverage.
We have a project with zero test coverage. Recently, i was tasked with writing api test cases for said project, it might have taken me months to write tests for all endpoint, plus the main issue was that each endpoint needed to tested for all available user roles and permissions.
I tried the main stream approach of writing api tests, but ended up running into a lot of issues directly linked to our projects roles/permissions architecture (cherry on top some endpoint are apikey specific). Don't get me wrong in my opinion this is by far one of the best user roles architecture out there, but writing test cases keeping it in mind is pain in ***.
After trying out different testing methods and frameworks, i decided to write my own class by extending django test framework (which uses unitest)
- It has generator and validators for request and response.
- Supports testing for user roles and permissions.
- We won't have to make any changes to code after user role or permissions changes
- I just have to copy and past request and responses from postman api collection.😂1 -
Was using node for a side project, but then I was like ehhh I could finish this but using js on the backend is kinda sad, and ive worked with Django before so I figured oh maybe, python would be a step above js, but still not satisfied. I started following a guide for PHP and doing research and I almost vomited. Then I start following a guide for Ruby on Rails, which I am now wondering where the fuck ive been ignoring it for years. Now I'm "on rails" and typing this on a train teeheeehee6
-
Hello world!
First time using this app, want a few suggestions from IT experts
I have been working in PHP since past 5 years and am quite good with it
But it's PHP and feel that there is no future in PHP, so what else should I take up?
Thinking to learn Django because I'm good with Backend development!
Any suggestions?
Thanks if you read it till here.12 -
I've deployed a website with jokes, a personal project, in two languages, Greek and English, using Django.
www.frapemou.com
It doesn't have many jokes yet, but I was just wondering if you guys could take a look and give me your opinion. I'm very new to web development and it would be really helpfull...5 -
so I have both PyCharm and VScode running for the same project. It’s React Redux Django so my servers and stuff are running through pycharm while i edit and code on VS cause PyCharm is crap for react and javascript.
But VS cant seem to run my crap without additional steps which PyCharm does for you automatically like the virtual env
Is there a better way to do this or is this my life now?4 -
Don't ya think Sololearn should come up with more courses on Python modules like PyQT, Django, Flask, Bottle, Robot and so on.2
-
!rant
I've worked with both but help me understand when it'd be advantageous to use Django vs Node.js for a project. Also should I really learn PHP or Ruby ?3 -
Is there a way to let a user write some python code on the browser and then run it and show the result? I want to make a coding challenges website using django but I don't know where to start8
-
Sweet merciful crab. Solved. Now I must never ever touch the code again because I barely understand what I did to fix it...1
-
I'm in the big confusion . What are these things django, flask,ruby on rails ,servlets, in python and what is the use. I know it's a web application framework but what does it do.many terms like "JSON,XML,"and what is the relationship between those term above with server side and client side application.what if I learn above stuff and what job will I get ? I heard that service side job is more pressured than product based job.and what are the service based and product based jobs ?what are the course that I need to learn to join in product based job. I have no clear vision . Can any one give a clear vision about this9
-
I’m a mobile app developer, I want to learn something so that I can develop backends.... databases, rest apis, admin panels etc. I know basics of php, meanstack and django. What should I choose...3
-
So I'm working on this project in Django, right, and I've used it a lot. I love it, personally, I enjoy using it, it's great. And when I run it locally, it all works like a dream. Nothing is wrong, all behavior is as expected, all of that. Then I deploy it and let me tell you it is a DIFFERENT story. The same source code, same versions of Python and Django and what have you, same urlconf, but the thing DOESN'T WORK. Like most of it is fine. But posting an update to a database object throws a 404 (!!!works on the development server!!!), resetting passwords just sends you back to the index page (you get the email and the 'we just sent you an email' page on the development server). I think something is out to get me. I'm being haunted.6
-
I'm building a website with Django just to learn, so far I have login/sign up and even a chat I cloned from github, I don't know what else to do with it, any ideas?4
-
so I have been trying to make migrations on centos 7 for a while now on my virtual env i keep getting this error
## Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/srv/switch/env/lib/python2.7/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
utility.execute()
File "/srv/switch/env/lib/python2.7/site-packages/django/core/management/__init__.py", line 356, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/srv/switch/env/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
File "/srv/switch/env/lib/python2.7/site-packages/django/core/management/base.py", line 327, in execute
self.check()
File "/srv/switch/env/lib/python2.7/site-packages/django/core/management/base.py", line 359, in check
include_deployment_checks=include_deployment_checks,
File "/srv/switch/env/lib/python2.7/site-packages/django/core/management/base.py", line 346, in _run_checks
return checks.run_checks(**kwargs)
File "/srv/switch/env/lib/python2.7/site-packages/django/core/checks/registry.py", line 81, in run_checks
new_errors = check(app_configs=app_configs)
File "/srv/switch/env/lib/python2.7/site-packages/django/core/checks/urls.py", line 16, in check_url_config
return check_resolver(resolver)
File "/srv/switch/env/lib/python2.7/site-packages/django/core/checks/urls.py", line 26, in check_resolver
return check_method()
File "/srv/switch/env/lib/python2.7/site-packages/django/urls/resolvers.py", line 254, in check
for pattern in self.url_patterns:
File "/srv/switch/env/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/srv/switch/env/lib/python2.7/site-packages/django/urls/resolvers.py", line 405, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/srv/switch/env/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/srv/switch/env/lib/python2.7/site-packages/django/urls/resolvers.py", line 398, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/srv/switch/app/switch/urls.py", line 10, in <module>
url(r'^administration/', include('primary.core.administration.urls')),
File "/srv/switch/env/lib/python2.7/site-packages/django/conf/urls/__init__.py", line 50, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/srv/switch/app/primary/core/administration/urls.py", line 2, in <module>
from primary.core.administration.views import *
File "/srv/switch/app/primary/core/administration/views.py", line 5, in <module>
from primary.core.api.views import *
File "/srv/switch/app/primary/core/api/views.py", line 8, in <module>
from primary.core.bridge.views import *
File "/srv/switch/app/primary/core/bridge/views.py", line 11, in <module>
from primary.core.bridge.backend.loggers import Loggers
File "/srv/switch/app/primary/core/bridge/backend/loggers.py", line 2, in <module>
from primary.core.bridge.backend.wrappers import Wrappers
File "/srv/switch/app/primary/core/bridge/backend/wrappers.py", line 6, in <module>
import pytz, time, json, pycurl
ImportError: pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (openssl)
even after uninstalling pycurl and exporting the pycurl variable to my environment can I get any help4 -
I know Python but never done web-development and needed it for one or two project. The requirement is some data-api and graph. There is flask and django but I'm not sure how should I proceed. ????11
-
im in my finals and we are having a course that requires project in python ,django to be specific , i downloaded a four hour python video for over a month, i ve been feeling reluctant to watch it, felt python is too simple to take such time , just continued with my django 🤣😂😂😘
-
I always wanted to learn web development and I choose django because I know python and everyone says it's begginer friendly.But the problem is when ever I start watching videos on youtube or read django tutorial on mozilla, I feel like I am mugging some code from the internet. It doesn't feel intresting at all.It may get the job done, but I want to understand how things work behind the scenes. I want to learn ground up.I want to know how I can understand the behind the scenes of web development?2
-
Just spent 8h trying to load datetime fields from Django to db. It turns out that tzinfo in datetime field doesn't work well with my timezone.
-
My dear developers I would really appreciate if you could recommend me technology for diving into web development. I am thinking about django/python or laravel/php but I am not sure.
I know it is opinion based question but I need your help to decide..9 -
I have my minors from tomorrow, haven't studied a thing, and am addicted to learning Django since morning. I just wish I don't fail😅1
-
Man I love django so far, but django.forms module is such a pain in the ass sometimes, why can't you be more intuitive? I think I'm gonna make my forms in HTML this time and process data with a function based view1
-
For six months, I have tried to put geodjango on AWS elastic beanstalk and failed. Anyone with a working solution?2
-
Hi, I hope that you guys can help me : Is Django REST Framework valuable for developing a little-sized android app backend? Does it have any support/community?
Is it better to just Django instead?12 -
Flask vs. Django. What does the community prefer as a RestAPI? Which do you think would get the most amount of contributors, if a FOSS project was to be made, based on one of them?2
-
I was using separate console for running my django project.
But then, I discovered run and debug functionality of pycharm.
Awestruck. Feeling blessed. -
Are you out of your free medium articles?😢 My Scrapy is here for the rescue.💸
This is simple application of web scraping, it scrapes the articles of medium and allows you to read or hear the article. If you use this on computer there will be a number of accents in the option.
The audio feature is provided only to the premium medium users, so here comes My Scrapy to save your 5$/month. 💸
.
Tech Stack used :
Python, beautiful soup, Django, speech synthesis
.
PS: This application was built for educational purpose and the source code for this application is not open sourced anywhere.
Fun Fact : You can still read any medium articles if they ask you to upgrade, you must be wondering how? Well, copy the link of the article and browse it in incognito mode on any browser.😂🤣
Try the app and lemme know if you liked it:
https://mymediumscraper.herokuapp.com/...4 -
Any tips for onboarding a new joinee to a couple-month old Django back-end project and eventually take it over, as my tenure ends?
The newbie is from a theoretical CS background and only knows very basic Django.
It's gonna be fine, I know; I'm just not sure how to go about handing over the project since even with coding best practices and detailed comments and a README.md, there's still a lot of stuff happening in the background that I know only because I've worked with it daily.3 -
Hi
maybe a stupid question :) I have two Django apps, I need one of them to use the functions of the other one without importing them. as if I am requesting them using API, is there a way I can get an instance of a function and use it, I don't want to do the following:
response = requests.get('HTTP://URL/example/', data)
data = response.json()
I want instead to do something like this
function = requests.get('HTTP://URL/example/')
and execute the function as follows
data = function()
thanks4 -
Hey guys I'm struggling with this error in django
django.db.migrations.exceptions.NodeNotFoundError: Migration recommendations.0001_initial dependencies reference nonexistent parent node
Can someone please help me1 -
Finally updated our servers from Debian 7 + Django 1.11 to Debian 10 + Django 3.1 because "shipping new products is more important than updates" 🙄
Can it be weekend now please?1 -
Need complete control over information you're fetching while logging in via social site in Django
Check this out: https://prakhar.xyz/backend-control... -
FUCKING SHIT, I HATE THIS
Does anyone have problems with axios?
I've been trying to make this work for at least 1 hour. If I use Postman, it works alright, but using axios messes it up.
Practically what happens it's that Django does not picks the foreign keys, it loads all the fields except those two.
I've been like fucking crazy trying to understand what's going on but to no avail... I want to die, it's friday and this stupid thing is delaying me more than it should3 -
Programming languages / frameworks you dominate? Me:
-Rails / RoR
-C/C++
-PHP / laravel
-Javascript / jQuery / Backbone etc..
- Python / django1 -
my day's been fucked up😭😭😭.
I'm making an api with Django, and i can't seem to make post requests when DEBUG=True5 -
Any suggestions on how you learn a new language? If I would ask that myself, I would try to make projects as much as possible. So the question might be revised to "Do you have any suggestions what projects can I work on while learning a new language/framework?" specifically python and django :D
Any suggestions will do. Thanks guys!3 -
After three long days I have successfully deployed Django with IIS. If you think about it, It's pretty easy if you know the right stuff.1
-
Who the duck thought of adding so much complexity over the file field?! Why do I need to go through thousands of pages to see how to simply save a disk file into the model db?! I have a sick sensation that i get in my stomach everytime i have to deal with the damn files. Duck you django files!!!
-
Django project in a docker container in an ec2 instance of my aws vpc... i did use elastic beanstalk though, but needed to let my media files be uploaded to S3... couldn't figure it out yet...
-
!rant
So, I've been working on a few Django projects at my company & we've been handling it quite well up until now. For those who don't have an idea of Django, it uses templating format as it's frontend & the data is served using APIs or context'.
Now the problem is, we're been told to use React js at the fronted with the current working projects.I've even gone to the 5th page of google & still haven't found a useful blog/answer on how to use react with django (i know that django rest framework will serve the apis).
There's no clear documentation for this. Even if there is, it's only basics which isn't quite helpful in my case.
So anybody can please guide me through or even provide a syntactical way to get this done, I'd be really grateful.
Thank You,
Your fellow devRanter -
I've been trying to understand why my browser does not set the cookies I'm getting from my login api for the last 4 hours and I'm losing my mind, pls help. My frontend is a create-react-app on localhost:8888 and my api is a django rest framework on localhost:8000. I'm using fetch() for all the communication to the api11
-
Can anyone suggest me more Django interview question for beginners?
Except this - http://techgeekbuzz.com/django-inte...2 -
I'm a django/web developer looking to learn some front end techniques like angular or node. anyone interested in learning some backend for teaching some frontend? is this allowed to do here?1
-
Can anyone suggest a good opensource or free app for dependency mapping?
I have a large monolithic django application with lot of apps and I want to study each app's imports and dependency. This also can help me remove cyclic dependencies.8 -
Experienced in django and vueJs, desperately looking fr a freelance job fr some extra bucks.. Any1 have any projects??
-
Do people really use django's included admin interface? It's not even responsive; you're better off making your own if you're dealing with a big project.1
-
I am developing a webapp with a couple of friends and we want to implement stripe API with Django Rest. Does anybody knows about good integration test packages/practice that could be useful in this case?
-
can someone guide me How to show courses learned from Documentation(JavaScript, Django, react.js, next.js etc) in a resume and committed in Github parallelly1
-
I got my first client at upwork almost a week ago and the experience has been awful so far, not because of this client but because of the codebase, it's so bad, it is running DEBUG=True on production and if I turn it DEBUG=False things break for some fucking reason that makes no sense (I don't think that's true but the previous developer states it). The website is running on pythonanywhere which is weird, bootstrap is a nightmare, the database needs to be in sync all the time using a manage.py command that executes tasks received through a webhook from a Hubspot shit that has all the information. Just adding a simple edit/verify profile on that site is such a fucking nightmare. The whole project its full of holes and things that are just screaming to break, its like a fucking house of cards that falls to the ground the second I edit something and it looks like its my fault. I'm thinking of telling the client that I will no longer work on this project
-
I will start learning Django framework next week. I know elementary python. Any advice on path I should take will be helpful.1
-
Is it possible to advertise freelancing for backend work? Businessmen seem only interested in UI not functionality. I dont want get me number 1 on google gigs, but what business even knows what they want let alone if they could use another django dev or rest endpoint tested...
-
Working on a Django API where I have to send a request to a PHP file to upload a XML file. Here is what I wrote:
url = 'url.to.php.file'
files = {
name: ('filename', xml_file.xml)
}
response = requests.post(url, files=files)
I am getting Internal server error. Do not know what I did wrong. Am stuck on this for like 3 days and have tried EVERY alternative POSSIBLE. HELP ME
*cries in corner*2 -
Why isn't it possible to do conditional increment in Django framework templates? And also you can't even update a value of a variable in templates. Wtf!!!! I can't believe a fully fledged framework is missing that.3
-
Please don't use the Django ORM in the view! Also don't use it in all the different layers your monolith might have.7
-
Anything wrong happens on my django project.
Oh no worries, It's just
python manage.py makemigrations && python manage.py migrate .1 -
So I'm currently doing my social service and my lead told me to stop using python (Django REST Framework) to create the new API we need and use php instead, only because nobody else knows python in there...1
-
Now make a new project in Django... Ok some file autogenerated and now I'll start.
Now make a new project in Ruby on Rails... Ok autogenerated a fucking army of file?!?!? Why??? It's overwhelming!!! Where can I start???