XXXX

2007-12-30 Thread dffg
SEXY GIRLS IN A LOVELY PLACE COME AND JOIN WITH US http://rexmier.blogspot.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@googleg

Re: EXPORT PATH in Leopard

2007-12-30 Thread mOne
I see the problem. I have three paths, two are pointing to the wrong directory. Does anyone know how to remove a path? On Dec 30, 11:48 pm, mOne <[EMAIL PROTECTED]> wrote: > Hey Eric, > > When I type in which python I get /usr/bin/python. That seems to work. > When I type in Macintosh:~ tk$ pytho

Re: EXPORT PATH in Leopard

2007-12-30 Thread mOne
Hey Eric, When I type in which python I get /usr/bin/python. That seems to work. When I type in Macintosh:~ tk$ python django-admin.py startproject tkt I get the same error. I have tried to export the path anme to no avail. See error below: /System/Library/Frameworks/Python.framework/Versions/2.

File Upload perfomance

2007-12-30 Thread [EMAIL PROTECTED]
Hello, Django is looking promising as a web app plattform for us. We want to build an Webapp which major function is to allow users upload files securely and fast. File upload speed will be a major factor. Searching in this group and on google for django + file upload gave lot of negetive results

Re: where can i find the icons of "Powered by Django"

2007-12-30 Thread hoamon
thank you. it's really my need. On 12月31日, 上午11時44分, "Marcin Sztolcman" <[EMAIL PROTECTED]> wrote: > On 12/31/07, hoamon <[EMAIL PROTECTED]> wrote: > > > > > i want to put the icon on my website that powered by django. but i > > can't find anyone on the official djangoproject site. > > I just fou

Re: where can i find the icons of "Powered by Django"

2007-12-30 Thread Marcin Sztolcman
On 12/31/07, hoamon <[EMAIL PROTECTED]> wrote: > > i want to put the icon on my website that powered by django. but i > can't find anyone on the official djangoproject site. I just found it at: http://www.djangoproject.com/community/badges/ MySZ -- http://urzenia.net mailto:http://urzenia.

where can i find the icons of "Powered by Django"

2007-12-30 Thread hoamon
i want to put the icon on my website that powered by django. but i can't find anyone on the official djangoproject site. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, sen

Foreign key drop down not updating in newforms

2007-12-30 Thread makebelieve
Part of a form of mine has a drop down to choose a region which is a foreign key to the object I'm updating. Further, I have a link to add a new region if the user does not see what they want. If a user adds a new region it is successfully made in the database, but it will not show up in the dro

ordering ForeignKeys

2007-12-30 Thread marcus
hi, i'm having two tables which look something like... class Company(models.Model): name = models.CharField(max_length = 128) class Something(models.Model): someField = models.CharField(max_length = 128) company = models.ForeignKey(Company) in the company table rows are

SEX SEX sex sex سكس سكس SEX SEX sex sex

2007-12-30 Thread سميره الشرموطه
SEX SEX sex sex سكس سكس SEX SEX sex sex http://www.66rb.net فتاه تبحث عن سكس http://www.forex.zw2j.com http://www.66rb.net/e3lan/e3lan.html http://www.groups-goole.l7n6rb.com/sex-free.html تعارف جنسي للبالغين http://www.groups-goole.l7n6rb.com/sex-free.html شاب يبحث عن فتاه http://t3arf.zw2j.com/

Re: newforms-admin: specify model level extra js files (the js admin option)

2007-12-30 Thread Russell Keith-Magee
On Dec 24, 2007 2:57 AM, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote: > > Hi guys, > > I'm migrating some of my applications to newforms-admin branch and I > have a question about the way I should define extra js files at model > level administration. Coming from standard django admin configur

Re: Syntax Error (line out of range), get_callable, urlresolvers

2007-12-30 Thread l5x
On Dec 31, 12:19 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > Is 534 one past the last line of views.py? Yes. > I expect you have a syntax error > such as a missing closing paren or bracket in your views.py file, which is > causing the parser to keep scanning until it reaches the end of the

Re: Syntax Error (line out of range), get_callable, urlresolvers

2007-12-30 Thread Karen Tracey
On Dec 30, 2007 5:42 PM, l5x <[EMAIL PROTECTED]> wrote: > Hello, > > I get the following error: > > Django Version: 0.97-pre-SVN-6976 > Python Version: 2.5.1 > Exception Type: SyntaxError > Exception Value:invalid syntax (views.py, line 534) > Exception Location: /home/user/dja

Re: How autopostback from a select.

2007-12-30 Thread mamcxyz
Great. Thanks! --~--~-~--~~~---~--~~ 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] F

Syntax Error (line out of range), get_callable, urlresolvers

2007-12-30 Thread l5x
Hello, I get the following error: Django Version: 0.97-pre-SVN-6976 Python Version: 2.5.1 Exception Type: SyntaxError Exception Value:invalid syntax (views.py, line 534) Exception Location: /home/user/django_src/django/core/urlresolvers.py in get_callable, line 47 Traceback:

Re: hide fields using newforms

2007-12-30 Thread Todd O'Bryan
On Dec 30, 2007 11:11 AM, l5x <[EMAIL PROTECTED]> wrote: > > On Dec 30, 5:04 pm, Florian Lindner <[EMAIL PROTECTED]> wrote: > > Hello, > > using newforms how can I set fields to be hidden (the hidden="hidden" > > attribute)? > > Did you mean type="hidden" ? > http://www.djangoproject.com/documenta

Re: Segmentation Fault on Syncdb

2007-12-30 Thread Jeff Anderson
What version of django are you using? Will other commands (like validate or runserver) work? Is this an existing known-to-work django app, or are you running something new? Thanks! Jeff Anderson Chris Hoeppner wrote: > Hi there, > > I'm getting a segmentation fault on syncdb. No further output.

Segmentation Fault on Syncdb

2007-12-30 Thread Chris Hoeppner
Hi there, I'm getting a segmentation fault on syncdb. No further output. On a pretty much vanilla ubuntu feisty box on grokthis. Output is as follows: # ./manage.py syncdb Segmentation fault # I wonder if this is somewhat a known issue or am I the one missing something? Never got this before.

Re: getting the admin interface started

2007-12-30 Thread marcus
this is working. thanks and happy new year! http://groups.google.no/group/django-users/browse_thread/thread/9f40df4683fe70dd --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group

Re: using queryset and extra_context

2007-12-30 Thread SmileyChris
On Dec 30, 3:43 am, Florian Lindner <[EMAIL PROTECTED]> wrote: > My problem is that I want to pass the info_dict to the generic view > and the CommentForm as extra_context. > > How can I do this? I think I somehow mix up the dictionaries Try this: dict(info_dict, extra_context={'CommentForm'

Re: dumpdata --traceback for 0.96

2007-12-30 Thread Jeff Anderson
Your best bet would be to upgrade to svn. It is every bit as stable an 0.96, but it has all those extra features that make it so much nicer. A list of backwards incompatible changes is located at http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges Good luck! Jeff Anderson Bulkan wrot

Re: How do generic views determine for field sizes?

2007-12-30 Thread Jeff Anderson
I believe an override with css is the best option here. size=30 is probably the standard for a form field representing CharField. You could open a ticket with a feature request to change the default behavior. Cheers! Jeff Anderson Steve Bergman wrote: > I have a model with several fields, one of

Re: Very Easy Question

2007-12-30 Thread Trev
Thanks Malcom for clarifying that. I suspected there was some sort of bug so I installed the subversion instead of the official release and I now have everything up and running. Also, I am now using a Postgre database and I'm very impressed so far. Thanks to everone who replied. On Dec 22, 4:32 

Re: Redirect base.html to index.html

2007-12-30 Thread SmileyChris
On Dec 31, 7:03 am, goober <[EMAIL PROTECTED]> wrote: > The Apache server is setup to look forhttp://localhost. I created an > index.html soft link pointing to the base.html file in the template > directory. When I bring up the browser, I get a error message "Page > not found" even though the in

Re: getting the admin interface started

2007-12-30 Thread marcus
> There should be a directory > site-packages/django/contrib/admin/templates/admin After my last post I installed the latest development version, but I think as far as this point is concerned there should be no difference and I have that directory, but - it's OS X 10.5 here - there is just a file

Re: 0.96.1 newforms image upload?

2007-12-30 Thread Jeff Anderson
I'm not 100% sure exactly what your question is, but it appears that you do need to upgrade to the svn version. The backwards-incompatible changes are documented in excruciating detail here: http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges If you read the svn version of the documenta

Re: How to populate flatpage content dynamically?

2007-12-30 Thread Jeff Anderson
Basilisk96 wrote: > Now, I want to take the next step - generate flatpage.content > dynamically so that I can show my Trac webpages within my context. > According to the flatpage documentation, this can be done via the API. > > I'd like to know - what is the best practice to approach this? My vote

Re: Find city from IP. Best option for python?

2007-12-30 Thread Jeff Anderson
mamcxyz wrote: > I wanna integrate the option to find the city based on the IP. I look > at maxwind and ip2location, both have a free version of the data, but > can't compile the thing under windows. > > > So, what option could be best It looks like maxwind has a link to download their free data wh

Re: Cannot redirect after login

2007-12-30 Thread [EMAIL PROTECTED]
Thanks, Michael, That solved the problem. YJ On Dec 28, 1:48 pm, Empty <[EMAIL PROTECTED]> wrote: > > Also, I don't understand what the last tag is for, either. Any > > help would be greatly appreciated. > > The last form tag is an error. It should be the closing form tag > > > > Fix that and

Re: getting the admin interface started

2007-12-30 Thread Karen Tracey
On Dec 30, 2007 1:08 PM, marcus <[EMAIL PROTECTED]> wrote: > > thanks, karen, for having some time for my problem... > > i repeated now all steps from chapter 5 from creating the app to > calling the site localhost/admin and again the same. i uploaded now > what django gave me. > > http://senduit.

Re: tags and related objects

2007-12-30 Thread Jeff Anderson
Lic. José M. Rodriguez Bacallao wrote: > suppose I have a set of NewsEntry instances which all has tags. How > can I get for a NewsEntry instance all related NewsEntry objects based > on its tags in a feasible way? > I'm using tagging app from google code One way would be to write your own manager-

Re: contrib.comments: Change freecomment form

2007-12-30 Thread Jeff Anderson
Florian Lindner wrote: > TEMPLATE_LOADERS = ( > 'django.template.loaders.app_directories.load_template_source', > 'django.template.loaders.filesystem.load_template_source', > ) > > To my understanding now the freeform.html from my templates directory > should be used (like it is done wi

Re: How to pass extra attributes to User authentication view?

2007-12-30 Thread Jeff Anderson
shabda wrote: > But myapp/login.html expects a number of extra objects from that > populated by the login view. In other generic views, I could have > added extra objects by using extra_context optional method. But this > view does not take the extra_context optional argument., so how can I > pass

Re: save sometime cause duplicate data

2007-12-30 Thread Jeff Anderson
[EMAIL PROTECTED] wrote: > I start only one post request,but the db save two duplicate data in > sometimes. > this just occur sometime,why? > How are you trying to save the data? The admin interface? your own code? If it is your own code, please paste an example so we can look at the problem. A

Re: Add "georss" tag to feeds

2007-12-30 Thread Jeff Anderson
Daniel de la Cuesta wrote: > class LatestEvents(Feed): >title = "Latest Events" >link = "/events/" >def items(self): >return Event.objects.order_by('-start_date')[:5] > > Is there any way to add the new node to each item returned by > "items()" > Thank you. >

Re: getting the admin interface started

2007-12-30 Thread marcus
thanks, karen, for having some time for my problem... i repeated now all steps from chapter 5 from creating the app to calling the site localhost/admin and again the same. i uploaded now what django gave me. http://senduit.com/751de6 any help would make my day. marcus --~--~-~--~~-

Redirect base.html to index.html

2007-12-30 Thread goober
Greetings! I have Django .97 installed and I currently have a base.html in my template directory. My apache 2.2.3 default configuration is: begin snipp DocumentRoot /home/django_apps Options FollowSymLinks AllowOverride None

Re: hide fields using newforms

2007-12-30 Thread l5x
On Dec 30, 5:04 pm, Florian Lindner <[EMAIL PROTECTED]> wrote: > Hello, > using newforms how can I set fields to be hidden (the hidden="hidden" > attribute)? Did you mean type="hidden" ? http://www.djangoproject.com/documentation/newforms/#widgets You can create your own widget if you need to.

hide fields using newforms

2007-12-30 Thread Florian Lindner
Hello, using newforms how can I set fields to be hidden (the hidden="hidden" attribute)? Thanks, Florian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Problem with ForeignKeys that references a huge table

2007-12-30 Thread Karen Tracey
On Dec 20, 2007 10:13 AM, GodOfGeeks <[EMAIL PROTECTED]> wrote: > > Hello, > > I will start with the code directly which will make it much easier to > explain:) > > class ProceedingsEditor( models.Model ): > > contact = models.ForeignKey( Contact ) > > The point here is that

Re: newforms-admin: specify model level extra js files (the js admin option)

2007-12-30 Thread Karen Tracey
On Dec 23, 2007 12:57 PM, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote: > > Hi guys, > > I'm migrating some of my applications to newforms-admin branch and I > have a question about the way I should define extra js files at model > level administration. Coming from standard django admin configu

Re: I need to make a column sortable on the admin side

2007-12-30 Thread Karen Tracey
On Dec 28, 2007 9:06 PM, jeffself <[EMAIL PROTECTED]> wrote: > I'm creating an admin interface using the Admin application and I've > renamed a field with the following code: > > def display_classification(self): >return self.class_name > display_classification.short_description = 'Classificat

Re: Problem with media_root, OLDPHOTO template

2007-12-30 Thread Empty
You need to provide more information. Django doesn't serve your media, so what are you using to serve media? Is it apache? If so you probably need to provide your apache conf for your site and information on where in your filesystem your media is stored. Michael Trier blog.michaeltrier.com On

Re: getting the admin interface started

2007-12-30 Thread Karen Tracey
On Dec 30, 2007 9:23 AM, marcus <[EMAIL PROTECTED]> wrote: > > hi. > > im very new to django (just bought the book) and was trying to get the > admin interface started, but it's not working as described in the > book. > > here is what i did: > > . Reinstalled latest-stable django as shown on djang

Re: Template add filter

2007-12-30 Thread Karen Tracey
On Dec 30, 2007 8:43 AM, kool <[EMAIL PROTECTED]> wrote: > Hi, i am writing this because i wanted to decrement a variable. > To increment, i used var|add:1 > To decrement i tryed var|add:-1, but it gives this error: > TemplateSyntaxError at (...) > add requires 1 arguments, 0 provided > Put the -

getting the admin interface started

2007-12-30 Thread marcus
hi. im very new to django (just bought the book) and was trying to get the admin interface started, but it's not working as described in the book. here is what i did: . Reinstalled latest-stable django as shown on djangoproject.com/ download . Created a DB . django-admin.py startproject name .

Template add filter

2007-12-30 Thread kool
Hi, i am writing this because i wanted to decrement a variable. To increment, i used var|add:1 To decrement i tryed var|add:-1, but it gives this error: TemplateSyntaxError at (...) add requires 1 arguments, 0 provided why not create a sub filter? like var|sub:1 i thing that i am not the only on

Re: Problem with media_root, OLDPHOTO template

2007-12-30 Thread eat
PLease anyone can help? --~--~-~--~~~---~--~~ 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 PRO