Collectstatic TypeError & Django-pipeline

2013-07-18 Thread Nesh Thompson
pipeline properly? Is collectstatic working properly or is it shutting down after the error and subsequently failing to run pipeline? Any help would be appreciated - Googling this problem hasn't really helped. Thanks for your time. Nesh ps. My settings.py file is set up as follows: # D

Re: Simple next and previous index in templates

2007-01-26 Thread nesh
obviously doesn't work and I can't > suss out the correct syntax using filters. What's the best way to do > this (apart from the obvious 'you shouldn't answer) http://www.djangoproject.com/documentation/templates/#add -- Nebojša Đorđević - nesh, ICQ#43799892 St

Re: many2many with newforms

2007-01-26 Thread nesh
pecially to http://trac.studioquattro.biz/djangoutils/browser/branches/0.1/forms/generic.py#L38). I'm using this for all my newforms stuff. It is work in progress but usable. -- Nebojša Đorđević - nesh, ICQ#43799892 Studio Quattro - Niš - Serbia http://studioquattro.biz/ | http://trac.studioq

Re: Multilingual content - yet another idea

2007-01-23 Thread nesh
er model properties (unique, unique_together, db_index, validators, ...) Ideally translatable model will behave like any ordinary model hiding the fact that some his fields are stored somewhere else (in separate table or separate columns) and it will support all of the common model op

Re: newforms tip: dynamic ChoiceField

2007-01-18 Thread nesh
for some time now. -- Neboj�a or evi - nesh, ICQ#43799892 Studio Quattro - Ni� - Serbia http://studioquattro.biz/ | http://trac.studioquattro.biz/djangoutils/ Registered Linux User 282159 [http://counter.li.org] --~--~-~--~~~---~--~~ You received this messag

Re: REALESTATE

2006-08-02 Thread nesh
reported to abuse. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTEC

Re: order_with_respect_to

2006-02-24 Thread nesh
ordering = ('emulate_owrt',) admin = meta.Admin( list_display = ('film'), ) Of course, you will have to write get_next/previous functions if you want to use that functionality. - -- Nebojša Đorđević - nesh Studio Quattro - Niš - SCG http:/

Re: order_with_respect_to

2006-02-24 Thread nesh
g? Tried with sqlite driver and works and I presume that postgresql will work too. Worth a ticket :) - -- Nebojša Đorđević - nesh Studio Quattro - Niš - SCG http://studioquattro.biz/ http://djnesh.blogspot.com/ | http://djnesh-django.blogspot.com/ | http://djangoutils.python-hosting.com/ Re

Re: order_with_respect_to

2006-02-24 Thread nesh
PLATE_DEBUG=False* to get actual error. Also post result of django-admin.py sql for Filmstarts table. - -- Nebojša Đorđević - nesh Studio Quattro - Niš - SCG http://studioquattro.biz/ http://djnesh.blogspot.com/ | http://djnesh-django.blogspot.com/ | http://djangoutils.python-ho

Re: Two Fields; One Required

2006-02-24 Thread nesh
fOtherFieldNotGiven('contact_phone')]) - -- Nebojša Đorđević - nesh Studio Quattro - Niš - SCG http://studioquattro.biz/ http://djnesh.blogspot.com/ | http://djnesh-django.blogspot.com/ | http://djangoutils.python-hosting.com/ Registered Linux User 282159 [http://counter.li.

Re: Question about Media root

2005-12-29 Thread Nebojša Đorđević - nesh
athNormal = 'C:\\Django\\TEMPLATES\\Static\\Uploaded\\Normal\\' For image fields use something like this: foo = meta.ImageField(upload_to=os.path.join(MEDIA_ROOT, 'Uploaded')) also, you can look at http://djangoutils.python-hosting.com/ (thumbnails) for ImageWithTh

Re: Django on Textdrive?

2005-12-02 Thread Nebojša Đorđević - nesh
d is the only option on TextDrive. OTOH I'm using a mod_fcgi on my local server for site testing. --- Nebojša Đorđević - nesh Studio Quattro - Niš - SCG http://djnesh.blogspot.com/ | http://djnesh-django.blogspot.com/ Registered Linux User 282159 [http://counter.li.org]

Re: django breaks not null in postgresql?

2005-12-01 Thread Nebojša Đorđević - nesh
d(default=True) always use python native types when working with models - it will be converted to database specific automatically. Also, if you don't use any of i18n stuff you don't need to specify verbose_name if is same as a field name. --- Nebojša Đorđević - nesh Studio Quattro - Niš

Re: django breaks not null in postgresql?

2005-11-30 Thread Nebojša Đorđević - nesh
have something like this: name = meta.CharField(maxlength=200, blank=True) If you want to check for empty data you can just use: name = meta.CharField(maxlength=200) and django itself will check that name field is not *blank* or *NULL*. --- Nebojša Đorđević - nesh Studio Quattro - Niš - SCG

Re: Django on Textdrive?

2005-11-30 Thread Nebojša Đorđević - nesh
On 25-11-2005, at 19:42, David Ascher wrote: What setup did you use? Apache/Lighttpd, fcgi/scgi/other? apache/lighttpd with FastCGI Apache is serving media files and doing proxy to lighttpd. I have replicated this setup also on my devel server for testing. --- Nebojša Đorđević - nesh

Re: Django on Textdrive?

2005-11-25 Thread Nebojša Đorđević - nesh
On 25-11-2005, at 7:35, David Ascher wrote: Has anyone had any success w/ Django on TxD? up-and-runnig quattro.textdriven.com ;) --- Nebojša Đorđević - nesh Studio Quattro - Niš - SCG http://djnesh.blogspot.com/ | http://djnesh-django.blogspot.com/ Registered Linux User 282159 [http

Re: Django/lighttpd weirdness

2005-11-17 Thread Nebojša Đorđević - nesh
sers/home/djnesh/tmp/ django.socket". IMHO /tmp/ is not writable or something similar. --- Nebojša Đorđević - nesh Studio Quattro - Niš - SCG http://djnesh.blogspot.com/ | http://djnesh-django.blogspot.com/ Registered Linux User 282159 [http://counter.li.org]

Re: File Upload Issue

2005-10-16 Thread Nebojša Đorđević - nesh
ry to move rename logic into _post_save(). IIRC when you hit _post_save object is already in db so self.id will have a value. After renaming file and updating image field you must again save() object. --- Nebojša Đorđević - nesh Studio Quattro - Niš - SCG http://djnesh.blogspot.com/ | htt

Re: File Upload Issue

2005-10-16 Thread Nebojša Đorđević - nesh
x27;) new_name = _HEX_SUB.sub(r'[\1]', new_name) + ext dest_path = os.path.join(path, new_name) if new_name != old_name: return rename(file_path, dest_path) else: return file_path # # --- Nebojša Đorđević - nesh Studio Quattro - Niš - SCG htt

Re: problem with ImageField

2005-09-19 Thread Nebojša Đorđević - nesh
. Same problem, after some trying I found out that this error only appears when I have a DateTimeField in my model. --- Nebojša Đorđević - nesh Studio Quattro - Niš - SCG http://djnesh.blogspot.com/ | http://djnesh-django.blogspot.com/ Registered Linux User 282159 [http://counter.li.org]