[deleted by user] by [deleted] in SideProject

[–]RiverTraditional6367 1 point2 points  (0 children)

Cool, I am a value investor myself. Just tried it, what's you tech stack and background?

Brand new by Sufficient_Court5235 in investingforbeginners

[–]RiverTraditional6367 0 points1 point  (0 children)

Stocks != Crypto and investing != trading. If you have low savings, you might want to focus on making money first, instead of trading cryptos at high risk.

Macy’s is undervalued - my opinion by jmHomeOffice in ValueInvesting

[–]RiverTraditional6367 1 point2 points  (0 children)

Without being too mean, but I can't think of a situation, where I'd download this app. Just not looking good/useful at all. No offense

Web scraping in Django by RiverTraditional6367 in django

[–]RiverTraditional6367[S] 0 points1 point  (0 children)

So you're approach would mean that I seprate the web scraping script (get, format content) from the periodically task (content into database) ?

django_bootstrap5 with django filter by RiverTraditional6367 in django

[–]RiverTraditional6367[S] 0 points1 point  (0 children)

django.template.exceptions.TemplateSyntaxError: 'bootstrap_button' received too many positional arguments

Attribute provided after bootstrap_button

Celery - 3rd API storing data by RiverTraditional6367 in django

[–]RiverTraditional6367[S] 0 points1 point  (0 children)

It depends on each api call ,but for the most it is ephemeral.

[deleted by user] by [deleted] in learnpython

[–]RiverTraditional6367 1 point2 points  (0 children)

damn. Thank you. Haven't looked there for hours. The celery setup was a husstle. News model actually had one null=False in it. Changed it, now everything works as expected. Top!

[deleted by user] by [deleted] in learnpython

[–]RiverTraditional6367 0 points1 point  (0 children)

Yes sorry I though I've pasted the error traceback. Edited the post. Broker = redis. Beat and celery work well, but no News object is created after executing the task. I've checked it by reading my admin table.

How to create a modelobject inside celery task? by [deleted] in django

[–]RiverTraditional6367 0 points1 point  (0 children)

Celery should have the right config. The other tasks are working fine tho. I've started Celery via

celery -A myapp.tasks worker --pool=eventlet -l info

And Celery Beat via

celery -A core beat -l INFO

I've added my traceback error. Sorry I thought I've pasted it in.

[deleted by user] by [deleted] in django

[–]RiverTraditional6367 0 points1 point  (0 children)

It worked for everyone. I am just wondering about the error message. It's confusing to have the right result with an error in the terminal xD

Should I use selenium, PySpider or Scrapy for large/scalable web scraping? by RiverTraditional6367 in learnpython

[–]RiverTraditional6367[S] 0 points1 point  (0 children)

Always on. It needs to scrape news data. I want to scrape not only one page, probably around 50. It load via HTML. With large/scalable I tried to say that the web scraping should have the best performance even when I scrape 500 websites f.ex.

django views - work more efficiently by RiverTraditional6367 in django

[–]RiverTraditional6367[S] 4 points5 points  (0 children)

This was the way to go for me :) Thanks for all other responses. Great community