This was because the default values of the id fields nextval(...) s
were not created in the new db, when I port the data by backup &
restore.
On 7 Haziran, 21:11, omat <[EMAIL PROTECTED]> wrote:
> By the way, I suspect that during moving existing data into the new
> database, somethings might h
Oops! It was a little early to think the problem was solved.
Now I cannot add images at all...
And there is no exception, the images I upload are silently ignored.
On 7 Haziran, 18:27, omat <[EMAIL PROTECTED]> wrote:
> Yes! It worked that way.
>
> Thanks a lot...
>
> On 7 Haziran, 18:09, robo
Malcolm Tredinnick wrote:
>>I have some CharField's in my model, I'm using create_update generic
>>views to edit them. I need all text data to be strip()'ed before being
>>saved to database. How can this be done in the most simple way?
>>
>>
>
>In the model's save() method.
>
>
Hmm, is ther
Paul Rauch wrote:
> Is there a way to reduce execution time by counting objects?
>
> it's even splitted in two queries now, with only 2474487 entries ;)
>
> in django I use "model.objects.count()"
>
> SELECT COUNT(*) FROM "rainbowtables_hashes":34.552
>
> SELECT COUNT(*) FROM "rainbowtables_hashes
Hi,
I've seen through Google that Django used to have an event framework
(http://code.djangoproject.com/ticket/421).
But it seems deprecated.
What should I use now ? Is there any event framework avalaible
anymore ?
If yes, is there somewhere a list of triggered events through the
whome Django f
Thanks to everyone who has provided feedback both here and off-list.
On Jun 6, 3:08 am, wathi <[EMAIL PROTECTED]> wrote:
> So here is my first shot.
>
> 1024x768http://img131.imagevenue.com/img.php?image=63063_djpr1_122_506lo.jpg
I really like the way you've bordered the individual images there.
I am a Chinese user. I found some message is displayed as English in
my site. So I check the django.po under zh_CN. I found that the msgid
is already in django.po, but not in django.mo. Why?
I had try to update the mo using compile-message or just run msgfmt
directly. The result is the same, some
i am trying to add manipulator on default User object. i am getting
name, email and address from the form and trying to fill date_joined
and last_login attributes myself as
user_data['date_joined_date']=datetime.date.today()
user_data['date_joined_time']=(datetime.time()
Hi!
How can I customize a validation error message? Looking at the code of
any validator I can see that it uses gettext(), so I can use i18n
mechanisms to customize the message. But I'm not too happy with that.
What if I want the message to be generated dynamically based on the
actual data (Like
If your situation allows it, you could de-normalize and save the count
result in a separate table. Then you need to adjust the count whenever
you add / delete a row ofcourse.
If you're a database purist I might have made your stomach turn,
however :)
regards,
Simon
On Jun 7, 8:19 pm, Paul Rauch
Oh, the missing msgid is "Ensure this value has at least %d
characters". It appears in the po file only after I update the po file
by running make-message.py
On Jun 8, 7:24 pm, Gilbert Fine <[EMAIL PROTECTED]> wrote:
> I am a Chinese user. I found some message is displayed as English in
> my site
On Fri, 2007-06-08 at 11:01 +0200, Przemyslaw Wegrzyn wrote:
> Malcolm Tredinnick wrote:
>
> >>I have some CharField's in my model, I'm using create_update generic
> >>views to edit them. I need all text data to be strip()'ed before being
> >>saved to database. How can this be done in the most si
On Fri, 2007-06-08 at 13:09 +0200, Przemyslaw Wegrzyn wrote:
> Hi!
>
> How can I customize a validation error message? Looking at the code of
> any validator I can see that it uses gettext(), so I can use i18n
> mechanisms to customize the message. But I'm not too happy with that.
>
> What if I
On Fri, 2007-06-08 at 10:22 +, Tarek wrote:
> Hi,
>
> I've seen through Google that Django used to have an event framework
> (http://code.djangoproject.com/ticket/421).
> But it seems deprecated.
Our signal framework isn't deprecated. Not sure how you got that
impression from #421, but it's
On 6/8/07, Tarek <[EMAIL PROTECTED]> wrote:
> I've seen through Google that Django used to have an event framework
> (http://code.djangoproject.com/ticket/421).
> But it seems deprecated.
>
> What should I use now ? Is there any event framework avalaible
> anymore ?
>
> If yes, is there somewhere
Thanks Malcom and Deryck, I was grepping with "event" instead of
"signal" ;)
On Jun 8, 1:37 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
[cut]
> The signals are hooked into Python object action, rather than
> database-level actions, so to do this you would need to listen and act
> on the po
On Fri, 2007-06-08 at 04:32 -0700, Gilbert Fine wrote:
> Oh, the missing msgid is "Ensure this value has at least %d
> characters". It appears in the po file only after I update the po file
> by running make-message.py
Notice that the message in question is marked as "fuzzy". That means the
trans
if this is possible or not to apply manipulator on User and on two
models.
i have read previous posts in this regard sugggesting method what i
have used but i am getting errors as above.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Malcolm Tredinnick wrote:
>I can't think of a way off the top of my head to do this with generic
>views. With a manually created (old)form, you could do this by
>sub-classing oldforms.TextField and putting a prepare() method in the
>sub-class that does the stripping, I guess, but then you are no
Malcolm Tredinnick wrote:
>You don't explain whether you are using oldforms or newforms here.
>
>
Right - at the moment using oldforms with generic views, I'm not yet
really familiar with newforms. I'm quite new to Django :)
>For newforms, override the Field class(es) that you wish to customis
مرحبا في بداية رسالتي هذه ارجو ان تقبلوني صديق عربي لكم اني من العراق
ويشرفني ذلك ويشرفني ايظآ ان اكون لكم صديق دائم انشاء الله تعالى مع
فائق الشكر والاحترام ارجو مراسلتي على عنوان البريدي مع التقدير
--~--~-~--~~~---~--~~
You received this message because you are su
D'oh! Thanks. M
On Jun 8, 2:40 pm, Forest Bond <[EMAIL PROTECTED]> wrote:
> On Fri, Jun 08, 2007 at 06:35:33AM -0700, matthew wrote:
>
> > Hi,
>
> > This is my model:
>
> > class Fish(models.model):
> >species = models.ForeignKey('Species')
> > more fields
>
> > class Species(models.M
On Fri, Jun 08, 2007 at 06:35:33AM -0700, matthew wrote:
>
> Hi,
>
> This is my model:
>
> class Fish(models.model):
>species = models.ForeignKey('Species')
> more fields
>
> class Species(models.Model):
> key = models.SlugField(primary_key=True,maxlength=20)
> more fie
Hi,
This is my model:
class Fish(models.model):
species = models.ForeignKey('Species')
more fields
class Species(models.Model):
key = models.SlugField(primary_key=True,maxlength=20)
more fields
Given a Fish object, I want to be able to use the value of the
Fish.species
On Fri, Jun 08, 2007 at 07:33:40AM -0700, Tipan wrote:
>
> I'm in the process of moving our projects onto production servers and
> attempting to remove explicit references to the application name in my
> files. I want to be able to run a full production and a staging
> version on the same server (
On Fri, 2007-06-08 at 07:33 -0700, Tipan wrote:
> I'm in the process of moving our projects onto production servers and
> attempting to remove explicit references to the application name in my
> files. I want to be able to run a full production and a staging
> version on the same server (I've set
On Fri, 2007-06-08 at 14:01 +, David the Dude wrote:
> Hi,
>
> I want to build a web-application using Django and before I get
> started I would like some opinions on the feasibility of it all.
>
> Here is the general layout:
>
> I have a huge remote oracle database containing time series,
Hi,
I want to build a web-application using Django and before I get
started I would like some opinions on the feasibility of it all.
Here is the general layout:
I have a huge remote oracle database containing time series, huge =
several billion entries and for that reason a local copy will be
c
I'd appreciate guidance as to how to go about identifying slow-
running portions of python code in my extensively customised django
applications suite. Most posts I've found address the probably more
important issues that relate to web page serving and database
efficiency issues, but as a r
I'm in the process of moving our projects onto production servers and
attempting to remove explicit references to the application name in my
files. I want to be able to run a full production and a staging
version on the same server (I've set this up with Apache VirualHosts).
Both versions will be
On 08-Jun-07, at 4:54 PM, Gilbert Fine wrote:
> I am a Chinese user. I found some message is displayed as English in
> my site. So I check the django.po under zh_CN. I found that the msgid
> is already in django.po, but not in django.mo. Why?
are they marked as fuzzy? if so, they will be ignore
There's no limitation - one could always create a contrib app that
uses your framework behind the scenes...
On Jun 8, 3:53 am, "Marinho Brandao" <[EMAIL PROTECTED]> wrote:
> > Sounds great Marinho, thanks for contributing this! *bookmarked*
>
> thanks for the considerations :)
>
> next days I wil
come on somebody pl. reply
--~--~-~--~~~---~--~~
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 [EMAI
On 6/8/07, Dushyant Sharma <[EMAIL PROTECTED]> wrote:
> come on somebody pl. reply
Please don't do this.
Sometimes it takes a little while -- maybe even a day or so -- for
someone to read through and figure out how to help you with your
problem, and quickly posting followups like this won't spee
I'm using the .96 release and it seems like URLConf is passing my
parameters as positional, even though they are named. Can anyone guess
why this fails? When I wrap a view function with a decorator the named
arguments seem to be converted to positional. At first I caught the
KeyError and defaulted
Here's a nice softball question for a Friday afternoon ...
What is the average going rate for seasoned Django developers? Hourly
rates or annual salaries are fine.
Strong python, javascript, CSS, postgres, jquery (or alike), debugging
and lots of general experience in software development. And w
Hi all,
For sometime, I was thinking of a flexible yet easy to manage CMS for
creating wiki-like pages. That is:
- content and presentation of each page should be defined freely and
independently almost as free as in plain HTML documents when needed
- common blocks of content and templates shoul
I think it probably depends on if the developer has other skill sets
such as C++, Java, rather than just web based programming experience.
I believe that developers with those skill sets can usually fetch a
bit more, but I could be wrong here.
On Jun 8, 2:27 pm, ZebZiggle <[EMAIL PROTECTED]> wrot
On 08-Jun-07, at 11:57 PM, ZebZiggle wrote:
> Strong python, javascript, CSS, postgres, jquery (or alike), debugging
> and lots of general experience in software development. And when I say
> CSS, I don't mean graphic design skills, but knowing how to take a
> graphic design and translate it int
On 09-Jun-07, at 12:20 AM, Kenneth Gonsalves wrote:
>> Strong python, javascript, CSS, postgres, jquery (or alike),
>> debugging
>> and lots of general experience in software development. And when I
>> say
>> CSS, I don't mean graphic design skills, but knowing how to take a
>> graphic desig
On 6/8/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> to elaborate, i dont think such skill sets are available on the
> market. People who have them are all happily employed or are self-
> mployed
No shit; I have trouble finding people like that at *any* price.
[Shameless plug: if *you* have
Kenneth Gonsalves <[EMAIL PROTECTED]> writes:
> On 09-Jun-07, at 12:20 AM, Kenneth Gonsalves wrote:
>
>>> Strong python, javascript, CSS, postgres, jquery (or alike),
>>> debugging
>>> and lots of general experience in software development. And when I
>>> say
>>> CSS, I don't mean graphic des
2007/6/8, Kenneth Gonsalves <[EMAIL PROTECTED]>:
>
>
> On 08-Jun-07, at 11:57 PM, ZebZiggle wrote:
>
> > Strong python, javascript, CSS, postgres, jquery (or alike), debugging
> > and lots of general experience in software development. And when I say
> > CSS, I don't mean graphic design skills, bu
I'm sure there are a lot of ppl that are employed and looking around
though I don't think employed always equals happily employed ;)
On Jun 8, 2:58 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]>
wrote:
> On 6/8/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
> > to elaborate, i dont think suc
Thanks Russell. I'll go re-read them (again). One of these days
they'll actually sink into my thick skull.
On Jun 7, 7:09 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On 6/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> > Figured it out. Template wanted (for whatever reason)
I found this Profiling Middleware earlier today. Haven't had a chance
to test drive it yet, but it might be what you're looking for:
http://www.djangosnippets.org/snippets/186/
On Jun 8, 10:17 am, Richard Phelps <[EMAIL PROTECTED]> wrote:
> I'd appreciate guidance as to how to go about identifyin
Don't forget us students! Although, for example, I'm currently
employed as a web developer/designer for a 20,000 student university
library, I consider myself "on the market" for when I graduate.
However, I've got maybe only 75% of the qualifications ZebZiggle is
asking about. However, as
Are you coachable, because if you are I have a proven formula that I
have personally tested and it really works? This formula produces
income..., pure and simple.
If you are like me and have tried other businesses... only to fail,
then this is something you'll thank me for.
http://www.leveragingon
On 6/7/07, Nimrod A. Abing <[EMAIL PROTECTED]> wrote:
> The only thing I can think of right now is to share a directory on the
> dedicated media server and have each server in the Django cluster
> mount that share either through NFS or Samba. But I don't think it's a
> good idea to do it this way.
On 09-Jun-07, at 12:41 AM, Nic James Ferrier wrote:
>> to elaborate, i dont think such skill sets are available on the
>> market. People who have them are all happily employed or are self-
>> mployed
>
> Self employed means available on the market.
>
> I have those skills. I am self employed. I
Hi!
I have the following construct in my model:
class SomeObject(models.Model):
type = models.ForeignKey(SomeObjectType)
... a few other fields...
I want to present a form for editing SomeObject, with drop-down list for
'type' field.
However I want to apply different validation rules fo
Is there an easy way to convert from the format strings the template
language uses for the date filter and the strings Python's strftime
method uses?
Here's where this comes up. We're pre-populating a value in a form with
datetime.now() and then using form.as_table() in the template. The time
is
If your focus is on images, I can't recommend this utility strong
enough:
http://www.aurigma.com/
I believe Facebook uses it and I have no relation to it.
It's a client-side compression utility for images and it supports a
Java / ActiveX client model ... whatever works.
Of course, you need to
All,
I have a code generating program that using django's nifty template packages.
It all worked well until I wanted to use a custom filter.
No matter what I try, I get:
django.template.TemplateSyntaxError: 'javadoc_filter' is not a valid tag
library: Could not load template library from
On 6/9/07, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
>
> On 6/7/07, Nimrod A. Abing <[EMAIL PROTECTED]> wrote:
> > The only thing I can think of right now is to share a directory on the
> > dedicated media server and have each server in the Django cluster
> > mount that share either through NFS
On 6/9/07, ZebZiggle <[EMAIL PROTECTED]> wrote:
>
> If your focus is on images, I can't recommend this utility strong
> enough:
>
> http://www.aurigma.com/
Bookmarked :)
Although we only allow as many as four images per upload session, I
have to entertain the possiblity that my employer will ask
On 6/6/07, Andrew R <[EMAIL PROTECTED]> wrote:
> whereas I just want it to import "javadoc_filter" from my current dir. I'm
> sure
> this is by design in django but there must be a way around it.
This is one of the tricky bits of Django that you don't often see.
Django needs to have some consist
57 matches
Mail list logo