Thumbnail - django-utils - Google Code

2007-08-10 Thread [EMAIL PROTECTED]
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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Question concerning blank and null in model fields

2007-08-11 Thread [EMAIL PROTECTED]
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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

no cookie vs. expired cookie

2007-08-11 Thread [EMAIL PROTECTED]
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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Static data on django

2007-08-13 Thread [EMAIL PROTECTED]
roup, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Static data on django

2007-08-13 Thread [EMAIL PROTECTED]
Ok, I think I got it. django.views.static.serve. I think I can work it out from here. On Aug 13, 4:11 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm quite new to django, but I'm rather confident that I have looked > for it pretty well. Feel free to yell,

SQL problem : how to use id thats autoincremented in statement

2007-08-13 Thread [EMAIL PROTECTED]
--~--~-~--~~~---~--~~ 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 PROTECTED] For mo

Disabling python-caching with mod_python, Apache 2.2

2007-08-13 Thread [EMAIL PROTECTED]
"runserver". --~--~-~--~~~---~--~~ 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 PROTECTED] For

Re: Disabling python-caching with mod_python, Apache 2.2

2007-08-13 Thread [EMAIL PROTECTED]
Thank you, Ethan. On Aug 13, 8:02 pm, Ethan Miller <[EMAIL PROTECTED]> wrote: > On 8/13/07 10:55 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > However, it seems like the requested pages are cached. Not in the > > regular way though, it

Re: Feed question

2007-08-13 Thread [EMAIL PROTECTED]
That looks like it... thanks! On Aug 12, 8:10 pm, Collin Grady <[EMAIL PROTECTED]> wrote: > http://www.djangoproject.com/documentation/syndication_feeds/#a-compl... > > The example here is pretty much what you want, you just need to change > how you lookup the ob

Filter on related model problem...

2007-08-13 Thread [EMAIL PROTECTED]
dels.ForeignKey(User) Thanks in advance! --~--~-~--~~~---~--~~ 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

a great new websit look here

2007-08-13 Thread [EMAIL PROTECTED]
this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Filter on related model problem...

2007-08-13 Thread [EMAIL PROTECTED]
~---~--~~ 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 PROTECTED] For more options, visit th

Re: Filter on related model problem...

2007-08-13 Thread [EMAIL PROTECTED]
Nice--I was thinking about using regroup, but I didn't think this was a "proper" use of it. Thanks! On Aug 13, 8:22 pm, Collin Grady <[EMAIL PROTECTED]> wrote: > view: > > poems = > Poem.objects.filter(approved=True).select_related().order_by('auth_user

Ajax Form Submission Trouble

2007-08-14 Thread [EMAIL PROTECTED]
is group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

enable auto reload from the python

2007-08-14 Thread [EMAIL PROTECTED]
p. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

django hosting companies

2007-08-14 Thread [EMAIL PROTECTED]
roup, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

django.db.models.query.QOr bug?

2007-08-15 Thread [EMAIL PROTECTED]
e" in their title. Am I wrong to expect that or have I hit a bug? I'm running this on django trunk r5888 and postgresql backend. regards matthew -- http://wadofstuff.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: django.db.models.query.QOr bug?

2007-08-15 Thread [EMAIL PROTECTED]
On Aug 15, 9:42 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > It's not completely clear to me whether this is a bug or not, although > enough people think it's counter-intuitive that it might be worth > changing. The problem is that both answers are correct, d

Changing database structue

2007-08-15 Thread [EMAIL PROTECTED]
? --~--~-~--~~~---~--~~ 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 PROTECTED] For more options, visit this grou

Re: Filter on related model problem...

2007-08-15 Thread [EMAIL PROTECTED]
Yes, you have to sort by the column you are regrouping--the regrouping doesn't change the position of the rows. Good example here: http://www.djangoproject.com/documentation/templates/ On Aug 14, 9:18 pm, Carl Karsten <[EMAIL PROTECTED]> wrote: > Collin Grady wrote: > > Regroup g

Re: Changing database structue

2007-08-16 Thread [EMAIL PROTECTED]
groups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: django-cart integration?

2007-08-16 Thread [EMAIL PROTECTED]
I've got it set up, but it's not plug and play... it's tied fairly closely to a model you don't have. It's trying to import Teacher from that model. You need to import your stuff from your models. On Aug 16, 3:02 am, "Jon Atkinson" <[EMAIL PROTECTED]> wrote: > On 8/15/07,

Re: django-cart integration?

2007-08-16 Thread [EMAIL PROTECTED]
that to import the thing you're going to sell. On Aug 16, 1:12 pm, MikeHowarth <[EMAIL PROTECTED]> wrote: > Importing other bits of code is still fairly new to me, I only started > looking at django last week. > > I basically took the files out of subversion and created a dir &

Feds Train Clergy To "Quell Dissent" During Martial Law Shocking KSLA 12 news report confirms story we broke last year, Pastors to cite Romans 13 as reason for public to obey government orders, relinq

2007-08-16 Thread [EMAIL PROTECTED]
earth by the New World Order!! --~--~-~--~~~---~--~~ 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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

updating models

2007-08-16 Thread [EMAIL PROTECTED]
users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

oracle and syncdb

2007-08-16 Thread [EMAIL PROTECTED]
t trunk in production or heavy development? David --~--~-~--~~~---~--~~ 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 gr

a nice new website look here

2007-08-16 Thread [EMAIL PROTECTED]
this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: (1040, 'Too many connections')

2007-08-16 Thread [EMAIL PROTECTED]
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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Variable choices in ModelChoiceField

2007-08-17 Thread [EMAIL PROTECTED]
"Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: django-cart integration?

2007-08-17 Thread [EMAIL PROTECTED]
No problem. Glad to be of help 'round here instead of just asking stupid questions. On Aug 16, 5:11 pm, MikeHowarth <[EMAIL PROTECTED]> wrote: > Thats absolutely it. Validated and no errors found. Great stuff. > > I was sure I'd searched for Teacher and couldn't find anything. &

Re: updating models

2007-08-17 Thread [EMAIL PROTECTED]
Thanks everyone! On Aug 16, 9:12 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 17-Aug-07, at 6:35 AM, James Bennett wrote: > > >> So how do I do it? > > >http://www.google.com/search?hl=en=sql+alter+table=Google > > +Search > > an example:

USStateField and Canada

2007-08-17 Thread [EMAIL PROTECTED]
send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

In-line Comments

2007-08-18 Thread [EMAIL PROTECTED]
--~--~-~--~~~---~--~~ 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 PROTECTED] For more opti

Django with cmemcache extension issues

2007-08-18 Thread [EMAIL PROTECTED]
jango users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Ajax Form Submission Trouble

2007-08-18 Thread [EMAIL PROTECTED]
On Aug 14, 3:11 am, dor <[EMAIL PROTECTED]> wrote: > Try this: onclick="this.disabled=true;" > Notice the "disabled" instead of "disable"! didn't work :( In IE7. --~--~-~--~~~---~--~~ You received this message becau

Re: Ajax Form Submission Trouble

2007-08-18 Thread [EMAIL PROTECTED]
hough). > > Cheers > Thejaswi Puthraya I'm using mochikit --~--~-~--~~~---~--~~ 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

clean method for auto generated forms (newforms)

2007-08-19 Thread [EMAIL PROTECTED]
s.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Attribute Error

2007-08-19 Thread [EMAIL PROTECTED]
As a first guess I'm not sure that user = User is doing what you would want. I think instead you want to instantiate a new User object. All you are doing right now is creating an alias user for User. On Aug 19, 3:16 pm, MikeHowarth <[EMAIL PROTECTED]> wrote: > Hi I was wondering wheth

Re: clean method for auto generated forms (newforms)

2007-08-19 Thread [EMAIL PROTECTED]
Ah, yes, sort of obvious in retrospect. But at least I was in the neighborhood of a sane way of using it. Thanks. On Aug 19, 5:49 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 8/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > >

Using the DB Package Outside of Django

2007-08-20 Thread [EMAIL PROTECTED]
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 PROTECTED] For more options, visit this group at http://groups.google.com/gr

HOT HOT HOT!! nude and on cam right now!!!

2007-08-20 Thread [EMAIL PROTECTED]
ango-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Using the DB Package Outside of Django

2007-08-20 Thread [EMAIL PROTECTED]
57 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 8/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > I've looked around and haven't found anything on it. Is there a quick > > way of creating a settings.py file and calling Django's DB AP

chinese django forum

2007-08-21 Thread [EMAIL PROTECTED]
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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

help with fixtures

2007-08-23 Thread [EMAIL PROTECTED]
various formats, with hope that one of them would work: ./manage.py dumpdata --format=python > data.python ./manage.py dumpdata --format=json > [EMAIL PROTECTED] ./manage.py dumpdata --format=xml > data.xml Now, tryin

Db querying method of model?

2007-08-23 Thread [EMAIL PROTECTED]
db updates? --~--~-~--~~~---~--~~ 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 PROTECTED] For more options, visit

Re: Db querying method of model?

2007-08-23 Thread [EMAIL PROTECTED]
You should be able to say something like project = Project.objects.get(project_id = some_id) if project.item_set.all(): # there are items else: # there are no items On Aug 23, 5:41 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Sorry, but I could not get a d

Re: Any way to re-synch database when I change models.py without deleting the DB?

2007-08-24 Thread [EMAIL PROTECTED]
I always just go to mysql and use Alter Table commands via the command line .. to sync it up to whatever changes I've made. On Aug 24, 10:50 am, Stodge <[EMAIL PROTECTED]> wrote: > While prototyping my models.py, I often have tweak it to try different > ideas out. This means I

Using SQL aggregates

2007-08-25 Thread [EMAIL PROTECTED]
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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: TyneMCE-like for math, You know one?

2007-08-25 Thread [EMAIL PROTECTED]
editors, maybe interesting. Thanks! On Aug 25, 10:18 am, Amirouche <[EMAIL PROTECTED]> wrote: > On Aug 25, 3:33 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > sum ... > > not hard stuff like integral > > which one is really the har

Neo-Cons: Make Bush Dictator Of The World

2007-08-27 Thread [EMAIL PROTECTED]
ohn 3:3) When you receive Jesus in your heart you receive eternal Life and become a child of God (John 3:16). You will become a New Creature, righteous in Christ!! (2Corinthians 5:17,21) Support and Vote For Ron Paul For President for your State Primaries Ronpaul.org --~--~-~--~~~---~--~~ 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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Error loading MySQLdb module

2007-08-27 Thread [EMAIL PROTECTED]
where might I find the PYTHONPATH variable? On Aug 11, 6:39 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 8/11/07, Kelsey Ruger <[EMAIL PROTECTED]> wrote: > > > I have the same problem even though I have installedMySQLdb. > > Open up a Python

Do you like playing games?

2007-08-28 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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

search better and free things to download from here

2007-08-29 Thread [EMAIL PROTECTED]
ango-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Keeping track of the original values for a record...

2007-08-29 Thread [EMAIL PROTECTED]
groups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Keeping track of the original values for a record...

2007-08-29 Thread [EMAIL PROTECTED]
to try and save off the original values into a dict when the record gets loaded... On Aug 29, 1:21 pm, "Jure Čuhalev" <[EMAIL PROTECTED]> wrote: > On 8/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > Since there isn't a load() method

Re: Forms, paging and pretty urls

2007-08-29 Thread [EMAIL PROTECTED]
ber in the arguments and then fall back to a request parameter (?page=x). On Aug 29, 1:23 pm, Matt Haggard <[EMAIL PROTECTED]> wrote: > How do you incorporate forms into pretty urls? > > I have a paged list of things that you access with the following urls > > /goals/page1/start3

Re: Keeping track of the original values for a record...

2007-08-29 Thread [EMAIL PROTECTED]
, self).save() class Meta: db_table = 'marketing_status' dispatcher.connect(backup_model_data,signal=signals.post_init,sender=MarketingStatus) On Aug 29, 2:24 pm, Doug B <[EMAIL PROTECTED]> wrote: > You could probably use the post_init signal to make a copy of the >

$5 into $50000

2007-08-29 Thread [EMAIL PROTECTED]
~--~~~---~--~~ 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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Keeping track of the original values for a record...

2007-08-29 Thread [EMAIL PROTECTED]
Ahh..this appears to work! Thanks! On Aug 29, 3:46 pm, Michael <[EMAIL PROTECTED]> wrote: > You can simply override the __init__ method and take a copy of the > values then: > > See Malcolm's explanation > here:http://groups.google.com/group/django-users/msg/6d849

Re: Keeping track of the original values for a record...

2007-08-29 Thread [EMAIL PROTECTED]
again everyone! On Aug 29, 4:13 pm, Doug B <[EMAIL PROTECTED]> wrote: > Hmm. It works in shell for me, I'm not sure what the difference might > be. It only keeps _original_data for the life of the instance, so if > the view completes, the next view is a different instance. Y

Re: Keeping track of the original values for a record...

2007-08-30 Thread [EMAIL PROTECTED]
, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Maybe it's a bug in my branch..I'm using the multiple db branch... but > the other method Mike pointed out appears to work. Tomorrow I'm going > to tie it all together and have my save method only fire save if there > are dir

Collapse edit inline?

2007-08-30 Thread [EMAIL PROTECTED]
. --~--~-~--~~~---~--~~ 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 PROTECTED] For more opti

problem with importing "Template" module

2007-08-31 Thread [EMAIL PROTECTED]
_MODULE is undefined. = can anyone help me? any idea? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: Django-based forum software?

2007-08-31 Thread [EMAIL PROTECTED]
I'm using a modified (OK, heavily modified) version of diamanda on my site: http://gretschpages.com/forum/ On Aug 31, 3:07 am, "老一套" <[EMAIL PROTECTED]> wrote: > 2007/8/31, Aaron Maxwell <[EMAIL PROTECTED]>: > > > > > Thanks, everyone. > > -Aaron &

django facebook app

2007-08-31 Thread [EMAIL PROTECTED]
jango users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: problem with importing "Template" module

2007-09-01 Thread [EMAIL PROTECTED]
up. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: problem with importing "Template" module

2007-09-01 Thread [EMAIL PROTECTED]
go.template import Template >>> .. --~--~-~--~~~---~--~~ 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 PROTECTED] For more options,

Re: problem with importing "Template" module

2007-09-01 Thread [EMAIL PROTECTED]
ango-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

how to use get_profile?i have a question,thx!

2007-09-01 Thread [EMAIL PROTECTED]
jango users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: how to use get_profile?i have a question,thx!

2007-09-01 Thread [EMAIL PROTECTED]
thanks,James! On 9月2日, 上午10时48分, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 9/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > then changed to : {{ post.author.get_profile().image }}, still got a > > error as following: > > You **never

markdown issue

2007-09-02 Thread [EMAIL PROTECTED]
! --~--~-~--~~~---~--~~ 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 PROTECTED] For more options, visit this group at http://groups.google

Re: markdown issue

2007-09-02 Thread [EMAIL PROTECTED]
thx ,Johnathan. but this is the same as enter twice, user must remember to end with one or more space. is there other plugin like markdown which is a truely what they is what they get? thx On Sep 2, 11:25 pm, Jonathan Buchanan <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote:

Sharing models between applications

2007-09-02 Thread [EMAIL PROTECTED]
django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: alternative to model inheritance?

2007-09-03 Thread [EMAIL PROTECTED]
also set the Type of Depending Class. On 3 Sep., 12:39, Doug <[EMAIL PROTECTED]> wrote: > I guess my issue is that I only want to have to enter the project > once. I don't want to create a Project and then have to create a > StudentProject and link them via a foreign key. I'm having t

Re: so wierd problem?

2007-09-03 Thread [EMAIL PROTECTED]
thx Graham. and this is key point: PythonPath "['/path/to/parent','/path/to/parent/mysite1'] +sys.path" On 9月3日, 下午6时50分, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > See: > > http://code.djangoproject.com/ticket/5299 > > and the reference mailing list thre

how to select posts in this situation?

2007-09-03 Thread [EMAIL PROTECTED]
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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: markdown issue

2007-09-04 Thread [EMAIL PROTECTED]
Actually, after test for 2 days, i find this code translate enter once to "" , and enter twice is still "". i want keep "", ie. enter once i get a "", enter twice i get a "" is this possible? thx! On 9月3日, 下午4时15分, "[EMAIL PROTECTED]"

how to avoid blank content

2007-09-04 Thread [EMAIL PROTECTED]
cribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: USStateField and Canada

2007-09-04 Thread [EMAIL PROTECTED]
. On Aug 17, 11:41 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2007-08-17 at 20:50 +0000, [EMAIL PROTECTED] wrote: > > I'm using USStateField, but am running into Canadian addresses. > > Is there maybe a NorthAmericanStateOrProvinceField? > > > I g

Re: markdown issue

2007-09-05 Thread [EMAIL PROTECTED]
so great, it is what i wanted now On 9月4日, 下午10时03分, Tim Chase <[EMAIL PROTECTED]> wrote: > > i find this code translate enter once to "" , and enter twice is > > still "". > > i want keep "", ie. enter once i get a "", enter twi

Q lookup with both OR and AND

2007-09-05 Thread [EMAIL PROTECTED]
~ 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 PROTECTED] For more options, visit this group at http://groups.google.com

how to implement 3X2 lines?

2007-09-06 Thread [EMAIL PROTECTED]
this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: how to implement 3X2 lines?

2007-09-06 Thread [EMAIL PROTECTED]
need your help, thx On 9月6日, 下午3时21分, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > sorry, i am a newbie to python. > i have a queryset with 6 record, i want to show in 3 col and 2 row, > how to do this, thx!!! --~--~-~--~~~---~--~~

Re: how to implement 3X2 lines?

2007-09-06 Thread [EMAIL PROTECTED]
I wrote this tag a couple months ago that should be of some help. http://www.djangosnippets.org/snippets/296/ You can at least use it as a starting point for your own tag. On Sep 6, 8:23 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > need your help, thx > >

Re: Fixtures auto-incrementing primary keys?

2007-09-06 Thread [EMAIL PROTECTED]
On Sep 6, 10:55 pm, Nathaniel Whiteinge <[EMAIL PROTECTED]> wrote: > Can fixtures have auto-incrementing primary keys or must you have > specific PKs in the the serialized json/xml/etc files? If not, is > there a reason for this? > > I'm programmatically generating fixtu

Re: how to implement 3X2 lines?

2007-09-06 Thread [EMAIL PROTECTED]
[4, 5, 6], [7, 8, 9], [10]] Clear as mud? """ try: n = int(n) thelist = list(thelist) except (ValueError, TypeError): return [thelist] newlists = [list() for i in range(n)] for i, val in enumerate(thelist):

Django Contract Work Available

2007-09-07 Thread [EMAIL PROTECTED]
possibly available upon successful completion of this project. Please send CV to the following address if interested: [EMAIL PROTECTED] www.bluemetrix.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

how to validate not blank field?

2007-09-07 Thread [EMAIL PROTECTED]
--~--~-~--~~~---~--~~ 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 PROTECTED] For more options, visit this grou

Re: how to validate not blank field?

2007-09-07 Thread [EMAIL PROTECTED]
ode alphanumeric characters, numbers, underscores or hyphens.') but this did not work for me. On 9月8日, 上午9时21分, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > i used this: > def isBlank(field,all_data): > if field_data is None: > raise ValidattionError(u'

Time Zone Errors

2007-09-10 Thread [EMAIL PROTECTED]
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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Time Zone Errors

2007-09-10 Thread [EMAIL PROTECTED]
Thanks for your response, i should have searched the previous discussions on this subject my appologies. it seemed indeed that a previous db call issued the problem. thanks again, richard On Sep 10, 12:22 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 9/10/07, [EMAIL

Re: how to validate not blank field?

2007-09-10 Thread [EMAIL PROTECTED]
; if not isinstance(field_data, unicode): field_data = field_data.decode(settings.DEFAULT_CHARSET) i like this way to define validator , but i t did not work for me.i just want to know dose such code is still valid now? On 9月10日, 下午5时36分, Nis J rgensen <[EMAIL PROTECTED]> wrote: > [EMA

hwo to copy and rename a file?

2007-09-10 Thread [EMAIL PROTECTED]
send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

order_by with foreign keys

2007-09-10 Thread [EMAIL PROTECTED]
e 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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: order_by with foreign keys

2007-09-10 Thread [EMAIL PROTECTED]
that helps, thanks very much... i got a bit confused by all the tickets concerning this issue. also the documentation doesn't mention any bugs, well bad luck ;) On 10 Sep., 17:53, Michael Radziej <[EMAIL PROTECTED]> wrote: > On Mon, Sep 10, [EMAIL PROTECTED] wrote: > > > hi g

Latest Walllpapers OF OM Shanti Om

2007-09-10 Thread [EMAIL PROTECTED]
cribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Latest Walllpapers OF Laga Chunri main daagh$$

2007-09-10 Thread [EMAIL PROTECTED]
http://DesktopAtoZ.com --~--~-~--~~~---~--~~ 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

Hotest Wallpapers Britny Spers

2007-09-10 Thread [EMAIL PROTECTED]
http://DesktopAtoZ.com --~--~-~--~~~---~--~~ 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

Re: hwo to copy and rename a file?

2007-09-10 Thread [EMAIL PROTECTED]
thx, using this code can resolve the issue: import shutil shutil.copyfile(src,dst) On 9月10日, 下午10时10分, omat <[EMAIL PROTECTED]> wrote: > check the python documentation:http://docs.python.org > > On 10 Eylül, 16:21, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: &

import setting error

2007-09-10 Thread [EMAIL PROTECTED]
! --~--~-~--~~~---~--~~ 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 PROTECTED] For more options, visit this group at http://groups.

<    1   2   3   4   5   6   7   8   9   10   >