Hi
Many thanks for your answer which makes perfect sense and yes, this is only
required for a single view.
The expiry_date is needed as items are listed by expiry date. So would you
suggest removing the has_expired and writing the filter against the expiry
date?
Thanks
On 7 June 2016 at 23:35,
Hi,
Am trying to write a customized authentication model.
In authenticate function I do the following.
def authenticate(self, username=None, password=None):
try:
# Check if this user is valid on the mail server
s.auth = HttpNtlmAuth(username, password, s)
I am trying to extract a plain text from pdfs using Apache Tika. I can use
a python binding, python-tika, but somehow I am not sure it's an efficient
way as some files can come up more than 25M.
What I need is the extract text instead of sending the files themselves to
the server side. The bes
Hi,
With your deadline is too difficult (impossible), but if you are a crack in
django and celery and nmap this tool could be useful
https://pypi.python.org/pypi/python-nmap
El martes, 7 de junio de 2016, James Schneider
escribió:
>
>
> On Tue, Jun 7, 2016 at 6:01 AM, Mahesh Kss wrote:
>>
>> H
On Jun 7, 2016 1:35 PM, "'David Turner' via Django users" <
django-users@googlegroups.com> wrote:
>
> Being new to Django I have a problem which I am not able to resolve.
>
> I have a model which has the following fields:
> expiry_date = models.DateField(null=True, blank=True,)
> has_expired = mode
Another option is to do all the authentication in Apache and use the Django
RemoteUser backend. This would require writing an Apache authnz module to
talk to the c++ server, and adjusting your Apache configs to require
valid-user. Or, if not Apache, whatever server you are using.
Nothing about aut
On Tue, Jun 07, 2016 at 01:44:29PM -0700, Daniel Wilcox wrote:
> Two options:
>
> 1. Tie into Django Authentication
>
> You can make a custom authentication backend and do whatever you want for
> authentication -- including talk over a named pipe and get the OK for users
> if you like.
>
> With
Two options:
1. Tie into Django Authentication
You can make a custom authentication backend and do whatever you want for
authentication -- including talk over a named pipe and get the OK for users
if you like.
With that you'll be able to use the login_required decorator. To make a
authenticatio
Being new to Django I have a problem which I am not able to resolve.
I have a model which has the following fields:
expiry_date = models.DateField(null=True, blank=True,)
has_expired = models.BooleanField(verbose_name='Has Expired',
defau
First, apologies if this is documented elsewhere. I don't use Google Groups
a lot, and I'm rather appalled at the search interface.
At any rate, I've added "django.contrib.admindocs" to my INSTALLED_APPS and
done all the other things to get /admin/docs to be automatically generated.
Mostly, it'
On Tue, Jun 7, 2016 at 6:01 AM, Mahesh Kss wrote:
>
> Hi all,
>
>
> Need some of your thoughts for the below mentioned exercise. I am planning
> to do it using Django. But I am not sure where i can place the python
> script which monitors the network for connected hosts.
>
> Kindly share your tho
Thanks
Em terça-feira, 7 de junho de 2016 01:21:09 UTC-3, Simon Charette escreveu:
>
> Hi Neto,
>
> Ordering by expression (order_by(Lower('name')) is not supported yet but
> it's
> tracked as a feature request[1].
>
> If we manage to allow transforms in `order_by()`[2] in the future you
> shoul
There is two way to monitor the data.
Either passively, listening for each host saying hello on the network
or actively, probing for host at regular interval [1].
First way look like difficult as in requiring cooperation from diverse
host and relying on protocol like SNMP. Or you could listen for
Hi all,
Need some of your thoughts for the below mentioned exercise. I am planning
to do it using Django. But I am not sure where i can place the python
script which monitors the network for connected hosts.
Kindly share your thoughts and questions. I need to complete this as soon
as possibl
I uninstalled postfix and installed sendmail; now, for the first time, a
password reset email went through.
Thanks,
On Tue, Jun 7, 2016 at 6:05 AM, C.J.S. Hayward <
christos.jonathan.hayw...@gmail.com> wrote:
> I have a Pinax installation where a classic Django "python manage.py
> send_mail doe
I have a Pinax installation where a classic Django "python manage.py
send_mail doesn't seem to be working.
I have a Debian server (Linux www 4.5.0-x86_64-linode65 #2 SMP Mon Mar 14
18:01:58 EDT 2016 x86_64 GNU/Linux), and postfix is installed.
It is working at least far enough that if, from the c
Basically, I need to order, based on multiple values from a ManyToManyField.
So what I want to achieve is having the objects with the most questioned
values on top, continuing with objects that have less of the questioned
values. Continuing with objects that don't have any of these values.
you just ran on your first problem for not using virtualenvs, I do hope you
won't run onto others, but in most cases it just means you aren't seeing
the problems yet.
On Tue, Jun 7, 2016 at 12:02 AM, Larry Martell
wrote:
> In general, yes, I agree. But in this cast the machine is dedicated to
>
18 matches
Mail list logo