Hi Ádler,
Thank you for your reply.
Can you please review this code before I commit?
"""uWSGIController API Version 0.8.3
Middleware for storing uWSGI statistics into the environ object.
"""
import sys
import os
import logging
import demjson
import urllib
logger = logging.getLogger(__name__
Looks like the issue is with the pytz library... can you make sure you have
the latest version installed?
--
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
Hello again, Etienne!
The way you coded that, you are counting how many requests the server has
replied before your request has been processed.
A bit differently than you, I implemented it as a view (which is not hard
to convert into middleware component) that uses bootstrap, so some small
cha
forgot mentioning:
the number of active requests is given by "Threads busy" progress bar and
in "Busy threads" line of the table of the previous reply.
Em sexta-feira, 8 de dezembro de 2017 14:07:42 UTC-2, Adler Neves escreveu:
>
> Hello again, Etienne!
>
> The way you coded that, you are countin
Yes both python and django are latest version downloaded from official
website.
On Friday, December 8, 2017 at 8:41:58 PM UTC+8, Jason wrote:
>
> Looks like the issue is with the pytz library... can you make sure you
> have the latest version installed?
>
--
You received this message because y
So Im trying to activate virtual environment but its not happening.
I type "venv\Scripts\activate" into my powershell and out comes :
"venv\Scripts\activate : The module 'venv' could not be loaded. For more
information,
run 'Import-Module venv'.
At line:1 char:1
+ venv\Scripts\activate
+ ~~
I have two models -
class Document(models.Model):
document_id = models.AutoField(primary_key=True)
title = models.CharField('title', max_length=200)
class Meta:
ordering = ['title']
def __str__(self):
return "%s" % (self.title)
class Collection(models.Model):
Hi Mark,
Answering on your question I would do in your `get_documents` method:
return obj.document.all().values_list('title', flat=True)
this will get list of all document titles.
But at the same time why do you need get_documents method? How do you use
it?
May be it is better to optimize `get_
Hi,
My problem is how to get my local files (source code) uploaded/migrated
into the virtual machine instanc I created in google bitnami.
I tired many times, but nothing works.
Thank you.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To u
Power shell is unnecessary. I'm not sure but I think it gives you privileges
you don't want while developing.
Anyway, find where activate.bat is and cd to the dir above the Scripts dir and
enter ...
$>scripts\activate
And cross your fingers :)
Connected by Motorola
Nav Pat wrote:
>So Im t
You can send this question to the official community of Bitname -
https://community.bitnami.com/
On 09/12/2017, r...@tinysoup.com wrote:
> Hi,
>
> My problem is how to get my local files (source code) uploaded/migrated
> into the virtual machine instanc I created in google bitnami.
>
> I tired ma
11 matches
Mail list logo