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
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
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
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
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
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
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:/
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
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
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.
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
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]
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š
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
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
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
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]
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
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
.
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]
20 matches
Mail list logo