How to create a report in django-admin panel of number of users added to
the database in a day, week and month. Also, how many API calls for every
particular API has been made in a day, week and month.
--
You received this message because you are subscribed to the Google Groups
"Django
Details are available on the Django project weblog:
https://www.djangoproject.com/weblog/2018/jun/01/bugfix-release/
--
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
On vrijdag 1 juni 2018 01:35:36 CEST Mohammed Noor wrote:
> I want to be able to display a page saying 'please wait for taken to complete process>' after submit button is clicked. Can you please
> give me any ideas on how to implement this.
As said by others, celery is one way to do this and
On Thu, May 31, 2018 at 7:35 PM, Mohammed Noor wrote:
> Hello Guys,
>
> I currently have a process running on my django application which takes about
> 10-15 minutes to complete.
>
> Currently, the user clicks on a 'submit' button and this process starts. The
> web page remains in a hung state
On vrijdag 1 juni 2018 13:02:54 CEST Yufenyuy Veyeh Didier wrote:
> I wish to know how I can call a method that takes in a request as one of
> its parameters such as
>
> def get(self, request, pk):
>
> #I am writing a test method to test the above method too.
If you want to test a view, use
Wow. Yeah. That scenario of 100 users hitting together...honestly, I haven't
thought much about it. Would using celery help me overcome this problem?
> On 01-Jun-2018, at 4:33 PM, Jason wrote:
>
> you can with celery, just make a view that checks the task ID of the task and
> if its PENDING,
Hi Yufenyuy,
You just instantiate the object and call the function. Something like
created_object = MyModel(field='some_value')
view = MyView()
view.get(request, created_object.pk)
If you want to create a request object, you can use RequestFactory:
All sorted, thanks for the tips.
Bernd Wechner wrote:
Just tried this:
|
$ python3 manage.py dumpdata --format json --indent 4>data.json
CommandError:Unableto serialize database:'NoneType'objecthas
noattribute 'is_authenticated'
|
Anyone seen this before. How does one diagnose this given
Gone though attachment..
On Thu, May 31, 2018 at 10:27 PM, Adefioye Temidayo
wrote:
> Hello,
> Kindly send in your portfolio
>
> Cheers!
>
> On Thu, May 31, 2018 at 4:32 PM, Rakesh Singh wrote:
>
>> I am interested for this job. If you need any information please let me
>> know.
>>
>> On
you can with celery, just make a view that checks the task ID of the task
and if its PENDING, return 'waiting', which would be used by your browser.
also consider the fact that servers will require you to specifically
override the connection timeout setting. with finite numbers of
connections
Hello,
I wish to know how I can call a method that takes in a request as one of
its parameters such as
def get(self, request, pk):
#I am writing a test method to test the above method too.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Thanks Mark! I will surely have a look at them.
But I was hoping if there was a way of getting this done using ajax or
jquery.
Mohammed Noor
On Fri, Jun 1, 2018 at 11:55 AM, Mark Phillips
wrote:
> Have you looked at celery (http://www.celeryproject.org/) to handle the
> long running process?
On vrijdag 1 juni 2018 00:14:32 CEST John Regis, Jr. wrote:
> I have *href="about/"*. Also tried *href="./about/"* and same result.
Please revisit this section in the tutorial[1]. If you haven't done the
tutorial at all,
please do it before trying a project on your own. You are missing a few
On vrijdag 1 juni 2018 06:22:43 CEST Bernd Wechner wrote:
> Anyone seen this before. How does one diagnose this given the vague nature
> of the message?
Using the --traceback flag.
--
Melvyn Sopacua
--
You received this message because you are subscribed to the Google Groups
"Django users"
Have you looked at celery (http://www.celeryproject.org/) to handle the
long running process? Perhaps in conjunction with redis (https://redis.io/)?
If you passed the long running process to celery, then you could change the
page to "say please wait".
Mark
On Thu, May 31, 2018 at 4:35 PM,
On 1/06/2018 2:22 PM, Bernd Wechner wrote:
Just tried this:
|
$ python3 manage.py dumpdata --format json --indent 4>data.json
CommandError:Unableto serialize database:'NoneType'objecthas
noattribute 'is_authenticated'
|
Anyone seen this before. How does one diagnose this given the vague
16 matches
Mail list logo