Monday, September 30, 2019

Stop executing certain py files or delay in loading python files until Django server is up and runnning

Hey All,

Using DRF for developing backend api end points for the application, I want to run a python module, only when we are sure Django server is up and running As I am calling the api end in that module.

So need to be sure Django server is up and running, before I can call the same server API end point.

Precisely What I am looking for is, how django loads files and starts executing them when I run "python manage.py runserver 0.0.0.0:8084" from command line. I want to delay some files execution if possible.

Any leads are much appreciated.

Thanks,
Sampath

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAErixQ3%3D_ms9y-RtHa89LMtgFvHBN2sQ32GJ1yef0MCtx7HT%3Dw%40mail.gmail.com.

Re: Help for project definition

Mike,

I know a couple of people trying to work on a similar problem: http://fictometer.com

They are using django as well, iirc.

Just a plug to what I came across in other places! Also, the problem is far from solved and they are trying some NLP approaches. That means good traditional way to prove things one way or the other is still open.

Abishek

On Mon, Sep 30, 2019 at 4:02 PM Mike Dewhirst <miked@dewhirst.com.au> wrote:
On 30/09/2019 4:56 pm, Mahir Shah wrote:
> I want to build an big project in django. Please can anyone suggest me some good projects based on the current world problems

The two biggest world problems I can see is group-think echo chambers
and fake news.

Such echo chambers probably come about from social media (Twitter,
Facebook etc) recommendations. Different people self-select their
favourite echoes. In the end, everyone seems to generate sufficient
meta-data to be slotted into particular categories as demonstrated in
2016 by Cambridge Analytica.

Although those categories become more and more granular as more and more
data accumulates for each individual that categorisation probably won't
go much further because the law of diminishing returns says it would be
too expensive to craft ever more targeted messages.

While such data is valuable for selling targeted advertising the big
problem I'm referring to is acquisition of such data by people or
organisations who cannot or should not be trusted with it.

The world needs a defence against stored meta-data. Not sure what you
might be able to do about that with Django but you did ask about current
world problems.

The second problem is, I think, a candidate for a Django project.

A lot of fake news is fed only into receptive echo chambers and
deliberately not fed into predictably skeptical echo chambers.

Together, these two world problems mean that unscrupulous people or
organisations can manipulate world events beyond the control of
democracies.

Fake news relies on assumed credibility. So what the world needs is a
news website which includes credibility links. It might work a little
like Wikipedia in that the news items posted might be curated by the
public in a couple of streams - for and against. Obviously, people who
uncover fake news would gain credits. People who support fake news would
lose credits.

Who knows? Maybe it would work. Maybe not.

Just in case, I have registered credipedia.com and if you come up with
something good I might just donate it to the cause :)

Cheers

Mike


> I am comfortable with any domain .
>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/64c4c132-e1c1-70db-f1d8-77b0b73440c2%40dewhirst.com.au.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPm8%3Dxop4vNitm6g7WOUFyfM_WcrnAT-EOco6HRtTMb%3DJ6jRrg%40mail.gmail.com.

Re: Weekly Report builder

I've Neva done anything like that but I feel to achieve that u will need something like an activity log table with the list of activities you wish to kip track of or display,  use a oneToOne field to link each user to that activity log table,  then from there you can display what you wish to display that one approach I feel you can use to achieve what you want 

On Sep 30, 2019 05:19, "Ankita Gupta" <ankita.gupta1998@gmail.com> wrote:
I have a blog project, where users posts daily posts. I want to see activity of users like weekly report or monthly report..  just like in github we have which shows activity of users over time. How can I achieve this? Any guidance is appreciable.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f28b98d3-f66d-4a25-9b3a-ba96e87c74b9%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHLKn73z%2BEVQHJJLe%3DZfOshstv6MWdBvDi7YaPBM%3D_GcGSgJ0g%40mail.gmail.com.

Re: Help for project definition

On 30/09/2019 4:56 pm, Mahir Shah wrote:
> I want to build an big project in django. Please can anyone suggest me some good projects based on the current world problems

The two biggest world problems I can see is group-think echo chambers
and fake news.

Such echo chambers probably come about from social media (Twitter,
Facebook etc) recommendations. Different people self-select their
favourite echoes. In the end, everyone seems to generate sufficient
meta-data to be slotted into particular categories as demonstrated in
2016 by Cambridge Analytica.

Although those categories become more and more granular as more and more
data accumulates for each individual that categorisation probably won't
go much further because the law of diminishing returns says it would be
too expensive to craft ever more targeted messages.

While such data is valuable for selling targeted advertising the big
problem I'm referring to is acquisition of such data by people or
organisations who cannot or should not be trusted with it.

The world needs a defence against stored meta-data. Not sure what you
might be able to do about that with Django but you did ask about current
world problems.

The second problem is, I think, a candidate for a Django project.

A lot of fake news is fed only into receptive echo chambers and
deliberately not fed into predictably skeptical echo chambers.

Together, these two world problems mean that unscrupulous people or
organisations can manipulate world events beyond the control of
democracies.

Fake news relies on assumed credibility. So what the world needs is a
news website which includes credibility links. It might work a little
like Wikipedia in that the news items posted might be curated by the
public in a couple of streams - for and against. Obviously, people who
uncover fake news would gain credits. People who support fake news would
lose credits.

Who knows? Maybe it would work. Maybe not.

Just in case, I have registered credipedia.com and if you come up with
something good I might just donate it to the cause :)

Cheers

Mike


> I am comfortable with any domain .
>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/64c4c132-e1c1-70db-f1d8-77b0b73440c2%40dewhirst.com.au.

Sunday, September 29, 2019

Help for project definition

I want to build an big project in django. Please can anyone suggest me some good projects based on the current world problems
I am comfortable with any domain .

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3c0f757a-b8ad-4db0-8123-bf536b3aafd9%40googlegroups.com.

Weekly Report builder

I have a blog project, where users posts daily posts. I want to see activity of users like weekly report or monthly report.. just like in github we have which shows activity of users over time. How can I achieve this? Any guidance is appreciable.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f28b98d3-f66d-4a25-9b3a-ba96e87c74b9%40googlegroups.com.

Re: Looking for online shop project

if you are helped with this question, share with me. I also need an online store.

среда, 25 сентября 2019 г., 13:53:20 UTC+3 пользователь Ram mohan написал:
Hi everyone,


I am looking for online shop shop app if anyone has please share the code.


Thanks in advance
RamamohanReddy

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6a57da59-b530-4c9f-aab3-0904b8fb2735%40googlegroups.com.