On Apr 27, 6:11 am, mynameisgabe <[EMAIL PROTECTED]> wrote:
> Hello all -
>
> I'm using django's awesome built in admin for internal folks to view
> and manage users and the data associated with users. I've got a model
> (let's call it "Article") that contains a foreignkey pointing to the
> djan
On Thu, 2007-04-26 at 11:59 -0700, Pythoni wrote:
> Is the development server from 0.95 or 0.96 compatible with 0.91
> version?
> I use Django 0.91 but have problem with the development server. .Many
> times I receive the error
> #
>
> Unhandled exception in thread started by
> Er
On Apr 26, 10:49 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I have dumped the User model on one db using dumpdata. I have a single
> json fixture file with one record (see below). When I run the loadata
> I get the error below. I use ptyhon 2.5 with psycopg2 on macOSX. I
> have tested on
On 4/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I have dumped the User model on one db using dumpdata. I have a single
> json fixture file with one record (see below). When I run the loadata
> I get the error below. I use ptyhon 2.5 with psycopg2 on macOSX. I
> have tested on Ubuntu a
Hello all -
I'm using django's awesome built in admin for internal folks to view
and manage users and the data associated with users. I've got a model
(let's call it "Article") that contains a foreignkey pointing to the
django.contrib.auth.models.User. That seems to be working perfectly
except f
I've setup a website of sorts for this project:
http://www.lostlogicx.com/captchasblow
On 2007-04-26 (Thu) at 09:10:21 -0500, Brandon Low wrote:
>
> 16 hours ago I posted about my captcha system that was quite rough
> around the edges.
>
> I've done some house cleaning since then and will call
hi,
I've had the same problem I believe. For me the problem was twofold.
1. Trying to reach a third-party smpt server through my local internet
connection.
In my case, I've been at several locations where I try to send mail to
the webfaction smpt server via the local internet connection.
I ca
I have dumped the User model on one db using dumpdata. I have a single
json fixture file with one record (see below). When I run the loadata
I get the error below. I use ptyhon 2.5 with psycopg2 on macOSX. I
have tested on Ubuntu and I get a similar error. Is it a bug?
Installed 1 object(s) from
> today = datetime.date.today()
> context[self.varname] = GpUser.objects.filter(birthday=today)
>
> The problem is, that will never evaluate to true, because I still have
> today's year. So, how does one throw out the year and just compare
> month and day?
Well, the Django ORM handles something
On Apr 26, 12:16 pm, Laurie Harper <[EMAIL PROTECTED]> wrote:
> oggie rob wrote:
> >> (r'^%s(?P[^?#]*)' % (root_url), 'apps.cms.views.render'),
> > Note that '?' is a special character, ...
>
> Nope; it's special outside a character class ([...]), but in a character
> class ? has no special meanin
This is probably more of a python question, but here goes.
I want to compare today's date to the users' birthdays and build a
list of birthdays. I have the birthdays in the db, properly formatted,
and have a template tag with this:
today = datetime.date.today()
context[self.varname] = GpUser.obje
I'll give you a short description here:
The date filter doesn't have any internationalization or localization
knowledge built-in. This plays havoc with languages that have genders,
cases etc (Greek, German, French and many more) and use them in
displaying dates.
There is a discussion at
http://
oggie rob wrote:
>> (r'^%s(?P[^?#]*)' % (root_url), 'apps.cms.views.render'),
> Note that '?' is a special character, ...
Nope; it's special outside a character class ([...]), but in a character
class ? has no special meaning.
L.
--~--~-~--~~~---~--~~
You recei
Is the development server from 0.95 or 0.96 compatible with 0.91
version?
I use Django 0.91 but have problem with the development server. .Many
times I receive the error
#
Unhandled exception in thread started by
Error in sys.excepthook:
Original exception was:
Validating models.
Christian Markwart Hoeppner wrote:
> I just noticed that it needs an iterable ot two-tuples. I wonder if
> there's a way to automate the creation of such a sequence, when I need a
> numbered sequence. Something like "for i in range(): list.push((i,i))"
> or so? I'm pretty new to python :)
Perhaps
Cool project -- do you plan to use some derivative of eggs, the way that
rails components come in ruby gems, or a completely separate deployment
system?
--Brandon
On 2007-04-26 (Thu) at 16:44:53 -, Mike Axiak wrote:
>
> We're working on it:
> http://code.google.com/soc/django/appinfo.html?c
We're working on it:
http://code.google.com/soc/django/appinfo.html?csaid=BA8EE19AE8DC2ECA
-Mike
On Apr 26, 12:19 pm, Henrik Jensen <[EMAIL PROTECTED]> wrote:
> Jay Parlar wrote:
> > On 4/26/07, Brandon Low <[EMAIL PROTECTED]> wrote:
> >> 16 hours ago I posted about my captcha system that was qu
Jay Parlar wrote:
> On 4/26/07, Brandon Low <[EMAIL PROTECTED]> wrote:
>> 16 hours ago I posted about my captcha system that was quite rough
>> around the edges.
>>
>> I've done some house cleaning since then and will call it 0.1.
>>
>> This is now in "Works on my live site" state. I managed to c
I just came across this dating site. Its 100% free, no credit cards
needed, very similar to lavalife, but again its free. All kinds of
features too, such as instant messaging, emailing, chat rooms, forums,
e-cards, and much more which are all usable without paying. Take a
look the site is at ht
On 4/26/07, Brandon Low <[EMAIL PROTECTED]> wrote:
>
> 16 hours ago I posted about my captcha system that was quite rough
> around the edges.
>
> I've done some house cleaning since then and will call it 0.1.
>
> This is now in "Works on my live site" state. I managed to clean up
> most of the ha
Here is my current thinking:
- No changes to main model tables
- Designate a model to be audited by including inner class "Audit"
- One shadow table per audited model
- Generate shadow tables for all audited models on post_syncdb
- Only write to one DB, until multi-db support is com
Ah nice, I tried something like that, but I used self.width instead of
doing an actual get on the model. Works fine now, thanks :)
-Vincent
On Apr 26, 10:28 am, "Mike H" <[EMAIL PROTECTED]> wrote:
> Hi Vincent,
>
> It sounds to me like you need a pre_save signal to check if the width
> and/or h
Hi Vincent,
It sounds to me like you need a pre_save signal to check if the width
and/or height of the model you're about to save is different from the
one currently stored in the database, and if they are different,
regenerate the thumbnail.
Something like :
in_db = Model.objects.get(pk=s
On Thu, 2007-04-26 at 07:21 -0700, [EMAIL PROTECTED] wrote:
> Hello,
>
> I have a small photo gallery application. My model has two classes,
> Gallery and Photo. Gallery contains information on the width and
> height of the thumbnails of its photos. I added a post_save signal so
> that when a
Looks like I had overlooked isnull. Thanks guys.
On Apr 24, 5:06 pm, robin_percy <[EMAIL PROTECTED]> wrote:
> Looks like my earlier reply got dropped. Sorry if this ends up being
> a double post.
>
> Check out the Model API
> docs:http://www.djangoproject.com/documentation/db-api/#isnull
>
> Y
Hello,
I have a small photo gallery application. My model has two classes,
Gallery and Photo. Gallery contains information on the width and
height of the thumbnails of its photos. I added a post_save signal so
that when a Gallery object is saved, all the photo thumbnails are
recreated to match
On 26/04/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
>
> On Apr 25, 7:10 pm, Atilla <[EMAIL PROTECTED]> wrote:
> > I personally find it Very bad to bind Django users to 1 apache worker
> > model, considering how the Apache modules progress and the performance
> > you can get out of using cleve
16 hours ago I posted about my captcha system that was quite rough
around the edges.
I've done some house cleaning since then and will call it 0.1.
This is now in "Works on my live site" state. I managed to clean up
most of the hacky crap that was in the last version and add some
comments to my
On 4/26/07, arv43 <[EMAIL PROTECTED]> wrote:
>
>
> hello,
> i get a 550, relay not permitted error when i try to use send_mail.
> this is on my laptop running Ubuntu. But when I try this on my host
> (webfaction), I get a different error
>
> Exception Type: error
> Exception Value: (111, '
Set some EMAIL_HOST, EMAIL_HOST_USER, and EMAIL_HOST_PASSWORD in your
settings. That might help you.
Regards,
Aidas Bendoraitis aka Archatas
On 4/26/07, arv43 <[EMAIL PROTECTED]> wrote:
>
> hello,
> i get a 550, relay not permitted error when i try to use send_mail.
> this is on my laptop runnin
hello,
i get a 550, relay not permitted error when i try to use send_mail.
this is on my laptop running Ubuntu. But when I try this on my host
(webfaction), I get a different error
Exception Type: error
Exception Value: (111, 'Connection refused')
Exception Location: /usr/local/lib/p
On 4/26/07, Bram - Smartelectronix <[EMAIL PROTECTED]> wrote:
> I have a particular file-processing "cron" job that uses django.
> Something much like this:
>
> while True:
> for image in Image.objects.filter(processing_state="pending"):
> #process image
> time.slee
>> Is it possible change the code to generate months in URLs as numbers,
>> instead of 3-letter texts please?
>
> there is already a ticket in this regard - please add your comments
> there
Sorry, I forgot to look into Trac. I put my comment there:
http://code.djangoproject.com/ticket/4094
On 26-Apr-07, at 3:01 PM, Michal wrote:
> Is it possible change the code to generate months in URLs as numbers,
> instead of 3-letter texts please?
there is already a ticket in this regard - please add your comments
there
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.i
Hello I have a problem with my own block tag "labs_block" which
includes other "block" tags.
It seems that inner block inheritance doesn't work. I pasted some code
at http://dpaste.com/9081/ (in this case the inner block is
"resource_details"). I get really into troubles, can you help me
please ?
Hey Ryan,
On Wed, 2007-04-25 at 16:23 +, Ryan Kanno wrote:
> Already a ticket? Shoot, I swore I searched, but I couldn't find
> one. Sorry about that - my apologies.
>
> (http://code.djangoproject.net/ticket/4129)
No problems -- I forgot to point you to the ticket number, too.
Anyway, th
hi all,
I have a particular file-processing "cron" job that uses django.
Something much like this:
while True:
for image in Image.objects.filter(processing_state="pending"):
#process image
time.sleep(30)
Now I notice that while running this script the DB table
Hi,
On 4/26/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> Wow .. there's been a lot of response to this without the answer
> actually appearing: it's a bug! :-)
>
> Ticket #3774 is the relevant ticket.
>
> I'm very tempted to fix this by actually implementing the documented
> behaviour, bec
Hi Doug,
On 4/26/07, Doug Van Horn <[EMAIL PROTECTED]> wrote:
> [Links]
> There's no harm in having unique columns in addition to your primary
> key (as you describe). The nut of the problem around natural keys,
> IMHO, is that the rules that make them natural keys today can change
> such that t
Hello,
before a while I tried the new Django feature -- Databrowse. It is
looked fine, but I found little "bug":
* first, this is my settings: I have set Django to my locale setting
(ie, TIME_ZONE='Europe/Prague', LANGUAGE_CODE='cs')
* When I try to view data by calendar, I could succesfully se
It's hard to belive but its really happening.
1st time I saw it, I thought its just another
money making machine, but the way he
prove it to me really got me thinking.
http://whoisjoeschmoe.com/?id=268
If you are thinking on how you can be helped
by helping people, you can ask him the
details be
Hi Friends,
Here is top 10 Universities list of the Wolrd
http://information.100stuff.com/top-10-universities/
enjoy it, and if you have any problem about online universities please
reply me
and you have any information about online courses please share with us
Thanks,
Rania
--~--~-~--~--
42 matches
Mail list logo