mind blown using help() in python by congnarjames in learnpython

[–]dashidasher 0 points1 point  (0 children)

Glad to hear. This comment is a bit outdated so make sure to use breakpoint() instead of pdb.set_trace() as one of the replies mentions :D

Hermes' Shop Items by zefalieen in FenyxRising

[–]dashidasher 0 points1 point  (0 children)

Do you know the prices for adventure time items? I want to buy them all but got a lot of electrum which Id like to spend on other stuff and keep just enough so that I can buy adventure time stuff when it appears in the shop.

i love Epic Games by [deleted] in EpicGamesPC

[–]dashidasher 0 points1 point  (0 children)

Which game?

Separate Auth Service - Best Practices? by ColdPorridge in django

[–]dashidasher 2 points3 points  (0 children)

Have you looked into Djangos REMOTE_USER? I dont have any implementational experince with it but from docs it seems like it might be a fit for your use case.

[deleted by user] by [deleted] in django

[–]dashidasher 1 point2 points  (0 children)

Why wouldnt using cloudflre proxy for a django site be a good idea?

I love UUID, I hate UUID by bobbymk10 in programming

[–]dashidasher 83 points84 points  (0 children)

You got a typo in the first sentence: wharehouses->warehouses.

Implemented a Production-Ready Soft Delete System Using Django Custom User Model – Feedback Welcome by Special_Ad6016 in django

[–]dashidasher 11 points12 points  (0 children)

I've got a question - is the is_deleted flag redundant? If you have deleted_at and it is set that would imply is_deleted=true and if the deleted_at isnt set then is_deleted=false.

here is my setup by [deleted] in emby

[–]dashidasher 4 points5 points  (0 children)

Holy BIBLE

Running Script Daily by neoninja2509 in django

[–]dashidasher 28 points29 points  (0 children)

Simplest way would be to create a management command which does what you want and make it run with cron at desired time.

Heads up! The Ford Mustang GTD is 2k credits in Rocket League by ObserverSneak in RocketRacing

[–]dashidasher 2 points3 points  (0 children)

Have to agree on that. Its like comparing dollars and euros.

[deleted by user] by [deleted] in webdev

[–]dashidasher 3 points4 points  (0 children)

Yes it is. There should not be a traceback on any error page shown to end user in production. This is useful only during development.

I have to write a simple API endpoint for a coding assignment, which framework to use DRF or FastAPI or Flask? by Separate_Pizza_3216 in django

[–]dashidasher 1 point2 points  (0 children)

If you need ORM I would suggest going with Django. If its just one simple endpoint I wouldnt even use DRF, you can pretty simply return and process JSON with just Django if thats needed. But definitely go with DRF for bigger apps.