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
012 4: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 woul
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
ap
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 t
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 si
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 a
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 Grou
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
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.
>
> M
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 h
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
o I'm 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:
>
> resp
ry, or such like.
>
> 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 f
, ovnicraft wrote:
>
>
>
>
> On Wed, Jun 19, 2013 at 6:01 PM, Chad Vernon
> > 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 "python
>> manage.p
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. B
t; Look in the RabbitMQ logs. Did the request make it to RabbitMQ?
>
> John
>
> On Sep 19, 2013, at 7:34 PM, Chad Vernon >
> wrote:
>
> 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 mac
$(PYTHON) $(MANAGER) celerycam -l debug --detach \
> --pidfile=celerycam.pid
> $(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
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
I'm using django 1.5.1 and I guess in in 1.5, the dates method returns
datetime objects. So nevermind!
On Tuesday, October 15, 2013 5:56:01 PM UTC-7, Chad Vernon wrote:
>
> I'm trying to use the dates QuerySet method but I am getting different
> values in the template:
&g
19 matches
Mail list logo