I'm trying to use the dates QuerySet method but I am getting different
values in the template:
view:
timecards = Timecard.objects.all()
dates = Timecard.objects.dates('date', 'day', order='DESC')
template:
{% for tc in timecards %}
{{ tc.date }}
{% endfor %}
Oct. 14, 2013
{% for d in dates
gt; $(PYTHON) $(MANAGER) celery worker -l debug -E -B -n
> 'local-worker' \
> --pidfile=celeryworker.pid
> }}}
>
> It is highly verbose, but might help you to visualize what is going on.
>
> []
>
>
> On Fri, Sep 20, 2013 at 1:23 AM, Chad Vernon <chadv...@gmail.com
t; Look in the RabbitMQ logs. Did the request make it to RabbitMQ?
>
> John
>
> On Sep 19, 2013, at 7:34 PM, Chad Vernon <chadv...@gmail.com >
> wrote:
>
> I am using djcelery and rabbitmq. Everything runs fine when the
> BROKER_HOST is localhost but when I change it
I am using djcelery and rabbitmq. Everything runs fine when the
BROKER_HOST is localhost but when I change it to the ip of the machine it
no longer runs.
Basically I am trying to be able to run python commands on a separate
machine to be picked up by the RabbitMQ server on a different machine.
, ovnicraft wrote:
>
>
>
>
> On Wed, Jun 19, 2013 at 6:01 PM, Chad Vernon <chadv...@gmail.com
> > wrote:
>
>> I'm trying to use ffmpeg to generate a thumbnail for a video. It works
>> just fine when I call it from a python shell and when I test it in "pyth
e.
>
> John
>
> On 20/06/13 00:48, Chad Vernon wrote:
>
> One last observation:
>
> I think it has something to do with the apache user permissions. I'm
> running the mod_wsgi daemon process with myself as the user and I need to
> specify the full path to ffmpeg (
totally confused now. I'm
an apache/django beginner so bear with me please!
On Wednesday, June 19, 2013 4:12:02 PM UTC-7, Chad Vernon wrote:
>
> Looks like it has something to do with calling subprocess from the server
> because this gives the same error:
>
> response = subproce
Looks like it has something to do with calling subprocess from the server
because this gives the same error:
response = subprocess.check_output(['which', 'ls'])
Anyone have any suggestions?
On Wednesday, June 19, 2013 4:01:30 PM UTC-7, Chad Vernon wrote:
>
> I'm trying to use
I'm trying to use ffmpeg to generate a thumbnail for a video. It works
just fine when I call it from a python shell and when I test it in "python
manage.py shell". However when I try to run from the apache server running
locally, I get an error:
# normally I call subprocess.call, but for debug
Very nice! I'll probably try it out in my current project.
On Thursday, January 31, 2013 9:25:06 PM UTC-8, h3 wrote:
>
> Hi everybody,
>
> I would like to introduce you my latest project: django-editlive
>
> It can make any database object editable in template with a simple
> template tag.
>
>
Nevermind, found it! Was having a hard time searching for "F" :)
https://docs.djangoproject.com/en/1.4/topics/db/queries/#query-expressions
On Thursday, January 31, 2013 9:10:39 PM UTC-8, Chad Vernon wrote:
>
> I was looking at this snippet:
>
> http://djangosnippets.org/s
I was looking at this snippet:
http://djangosnippets.org/snippets/1560/#comments
And on this line:
ReportField.objects.filter(order__range=range).update(order=F('order')+shift)
What is the F in F('order')?
Thanks!
Chad
--
You received this message because you are subscribed to the Google
I'm implementing the get_absolute_url method on one of my models.
@models.permalink
def get_absolute_url(self):
return ('viewProject', (), {'projectSlug' : self.slug})
My url has:
url(r'^(?P[-\w]+)/$', 'assetlibrary.views.viewProject',
name='viewProject'),
However, in the
I'm creating an asset management system with Django and I'm using this
jquery multi-file uploader:
http://blueimp.github.com/jQuery-File-Upload/
I want to be able to get all uploaded files in a single POST request
instead of each file having it's own request so I can count all the files
as a
Never mind. I think it's a permissions issue. Thanks!
On Monday, January 7, 2013 5:04:06 PM UTC-8, Chad Vernon wrote:
>
> Hello!
>
> I'm working on a local django site and I've set up a post-save signal
> where when an entry is initially saved, I want to copy a template directo
Hello!
I'm working on a local django site and I've set up a post-save signal where
when an entry is initially saved, I want to copy a template directory
structure somewhere. This template directory structure lives on a local
network location. However I can't seem to access it through my local
:59 PM
To: django-users@googlegroups.com
Subject: Re: Django asset management and dynamically created databases
On 24/12/2012 8:10am, Chad Vernon wrote:
> Hi there,
> I'm designing a database for an animation studio to track assets across
> multiple shows. We potentially would want
Hi there,
I'm designing a database for an animation studio to track assets across
multiple shows. We potentially would want each show to have its own
database, however we would want functionality to search for assets across
all shows. I am exploring the use of django as the main framework for
18 matches
Mail list logo