Re: send_mail / mail_admins to qmail server

2009-02-19 Thread Karen Tracey
On Fri, Feb 20, 2009 at 1:15 AM, Reza Muhammad wrote: > > Hello All, > > I'm trying to play around with a send_mail/mail_admins function but > couldn't get it to work properly. I hope someone can help me out :) > > > I'm trying to create a "send feedback" feature in my

Saving a new image via the model

2009-02-19 Thread Dave Dash
Using r9679 (I can svn up if needbe ;) ) How exactly do I save my new resized image? I couldn't quite find any documentation on this either. The "easy" way almost seems to do it by writing out the file on my own and just setting the imagefield to the filename... but there seems like there

send_mail / mail_admins to qmail server

2009-02-19 Thread Reza Muhammad
Hello All, I'm trying to play around with a send_mail/mail_admins function but couldn't get it to work properly. I hope someone can help me out :) I'm trying to create a "send feedback" feature in my application which will basically retrieve user's inputted data through form, and then

Re: trying to get whether image is wider or deeper in templatetag

2009-02-19 Thread Malcolm Tredinnick
On Thu, 2009-02-19 at 21:09 -0800, macdo...@gmail.com wrote: > > I am trying to set up a templatetag that will give me a variable to > use > in templates so we can modify our presentation of stories depending > upon > whether the accompanying photo is horizontal or vertical. I am using > 0.91

trying to get whether image is wider or deeper in templatetag

2009-02-19 Thread macdo...@gmail.com
I am trying to set up a templatetag that will give me a variable to use in templates so we can modify our presentation of stories depending upon whether the accompanying photo is horizontal or vertical. I am using 0.91 EllingtonCMS. I've made a templatetag in /ellington/media/photos.py that

Admin filtering on a foreign key is "an unsorted mess" (not my words)

2009-02-19 Thread Eric
Hi, I have an admin filter that filters all entries that have a particular foreign key. Specifically, this foreign key is a "Code" object that contains a "Code #" and a "Description". In the admin filter display, it shows all the codes I can filter by, but they are all out of order, i.e. Filter

Re: Registration Behavior

2009-02-19 Thread timlash
Thanks Alex, That got me going and helped me discover my global_settings.py file. Cheers, Tim On Feb 19, 12:07 am, Alex Gaynor wrote: > On Thu, Feb 19, 2009 at 12:04 AM, Praveen > wrote: > > > > > > > Hi could you please tell me more

Re: Multiple different user profile objects - Django code design help

2009-02-19 Thread Gok Mop
On Feb 19, 6:39 pm, Andrew Ingram wrote: > Simplest solution : don't worry about the AUTH_PROFILE_MODULE setting. > > I'm working on a site with numerous modules that contain user account > information, such as orders and newsletter preferences. I just have a > foreignkey

Re: forms - dynamically change initial values

2009-02-19 Thread cheeming
If I am not mistaken, you're talking about passing states between the request that is returning the redirect after a POST and the new request that is rendering the GET. If you really need to do that you can use sessions to store the data that you need and then just set the initial data for the

Re: Access extra parameters in forms.py

2009-02-19 Thread Malcolm Tredinnick
On Mon, 2009-02-16 at 08:49 -0800, peterandall wrote: > Hi all, > > I'm trying to access a list of users in forms.py I'm creating two > lists and merging them in my view (new_bug) then passing them through > when i create the form. I was going off answers on these two existing > topics: >

Re: New password does not authenticate

2009-02-19 Thread jeff
Yup, obvious. Python newbie forgets the () again. Thanks. On Feb 19, 10:43 am, Alex Gaynor wrote: > On Thu, Feb 19, 2009 at 1:36 PM, jeff wrote: > > > OK, I know I'm missing something obvious here in my basic "Reset > > Password for Forgetful User"

Trouble with admin select related

2009-02-19 Thread Trey
I'm not sure if other people have stumbled onto this but I am having a LOT of trouble getting the admin to use select related. I have FK's that are nullable, this I know doesn't by default work with select_related. But I've overridden the manager to select the related fields I need (which I

Re: Announcing Django Noob Group

2009-02-19 Thread Richard Shebora
I am also a "noob" who doesn't want to search two lists. Was someone rude to you on this list? On Thu, February 19, 2009 2:11 pm, Bobby Roberts wrote: > > ... simpleton questions welcome, mentors encouraged to help... > > > http://groups.google.com/group/djangonoobs > > > >

Re: Multiple different user profile objects - Django code design help

2009-02-19 Thread Malcolm Tredinnick
On Thu, 2009-02-19 at 14:53 -0800, Gok Mop wrote: > I'm struggling with how to design something, and I'm pretty sure > somebody has an easy solution. > > I need to store different information about different classes of > users. I want to attach those classes as the user profile to my >

Re: Multiple different user profile objects - Django code design help

2009-02-19 Thread Andrew Ingram
Simplest solution : don't worry about the AUTH_PROFILE_MODULE setting. I'm working on a site with numerous modules that contain user account information, such as orders and newsletter preferences. I just have a foreignkey to the auth User on each of these, eg: class

Re: unicode/str not callable

2009-02-19 Thread Malcolm Tredinnick
On Thu, 2009-02-19 at 16:35 -0500, Alex Gaynor wrote: > > > On Thu, Feb 19, 2009 at 4:17 PM, Nicolas Steinmetz > wrote: > > Nicolas Steinmetz a écrit : > > > > Thanks for the answer. I'll implement the 2nd method, which > makes

Re: MetaWeblog API vs. Atom Publishing Protocol support

2009-02-19 Thread Malcolm Tredinnick
On Thu, 2009-02-19 at 20:39 +0900, Russell Keith-Magee wrote: [...] > Regardless - protocols like this can (and, for the most part, should) > exist as external projects. James Tauber's approach with > django-atompub is exactly the right idea. If you particularly want > MetaWeblog support, it

Re: login in django via plone

2009-02-19 Thread Kevin Audleman
Tricky...how do you write a method in Django that can query Plone for the existence of a user? A couple of thoughs: 1. Design an external method in Plone that takes a username/password and returns true/false 2. Extend Plone to copy the users to a SQL table that you can then access natively in

Re: Readonly Field

2009-02-19 Thread Malcolm Tredinnick
On Thu, 2009-02-19 at 17:44 +0200, burcu hamamcıoğlu wrote: > > hi , I want to make to display a field disabled(readonly) on admin > form. Could you please help me how can i do this? There was a thread about exactly this topic within the last two days. It's worth doing a little bit of a search

Re: login in django via plone

2009-02-19 Thread Malcolm Tredinnick
On Thu, 2009-02-19 at 10:20 +, Alan wrote: > Hi There, > > > > > We have Plone/Zope site for CMS and users registration. It came before > django for us. But now we are developing portal applicatons done with > django (much better to develop and maintain) and we have this question > now:

Re: Aspect Orientation?

2009-02-19 Thread Russell Keith-Magee
On Fri, Feb 20, 2009 at 1:04 AM, RaoB wrote: > > Is anything being done to include aspect orientation in dJango, to be > able to easily and dynamically modify behaviors etc.? > http://www.cs.tut.fi/~ask/aspects/download.shtml seems interesting? In short - no. If you

Multiple different user profile objects - Django code design help

2009-02-19 Thread Gok Mop
I'm struggling with how to design something, and I'm pretty sure somebody has an easy solution. I need to store different information about different classes of users. I want to attach those classes as the user profile to my django.contrib.auth.User object, so I can always cross-walk from the

Re: admin foreignkey selection box question

2009-02-19 Thread Karen Tracey
On Thu, Feb 19, 2009 at 1:44 PM, Bobby Roberts wrote: > On Feb 19, 1:08 pm, Karen Tracey wrote: > > On Thu, Feb 19, 2009 at 12:53 PM, Bobby Roberts > wrote: > > > > > > Set a __unicode__ method on your Auction model. > > > > -- > >

Re: unicode/str not callable

2009-02-19 Thread Alex Gaynor
On Thu, Feb 19, 2009 at 4:17 PM, Nicolas Steinmetz wrote: > > Nicolas Steinmetz a écrit : > > > > Thanks for the answer. I'll implement the 2nd method, which makes far > > more sens than my first "harsh and straight away" approach ;-) > > Solution was finally : > >

Re: unicode/str not callable

2009-02-19 Thread Nicolas Steinmetz
Nicolas Steinmetz a écrit : > > Thanks for the answer. I'll implement the 2nd method, which makes far > more sens than my first "harsh and straight away" approach ;-) Solution was finally : try: tips ={'google': google(request.POST['search'], number),

Re: WYSIWYG Image upload challenge

2009-02-19 Thread Colin Bean
On Thu, Feb 19, 2009 at 7:18 AM, phoebebright wrote: > > Where do I do the compare though as the headers are not being returned > - the file is being downloaded so I don't get to see what might be > different. (Using Firefox Firebug NET option - very helpful >

Re: CheckboxInput widget has a flaw when used with an IntegerField

2009-02-19 Thread Karen Tracey
On Thu, Feb 19, 2009 at 2:08 PM, Mark Jones wrote: > > Maybe because I have a list of values that I want the user to be able > to select between. A list of 4 or so things that I want the user to > be able to choose one or more of. Is there some better way to get > this

Re: My app is missing!

2009-02-19 Thread djandrow
Thanks Tim, I got it sorted out. On Feb 19, 3:39 pm, Tim wrote: > The problem is that you are using the manage.py that is in the > project_template directory, which will load the settings.py file from > the project_template directory. > > You need to use the manage.py that

Re: Announcing Django Noob Group

2009-02-19 Thread Gour
> "Bobby" == Bobby Roberts writes: Bobby> ... simpleton questions welcome, mentors encouraged to help... Cool. I'm joining it... Sincerely, Gour -- Gour | Zagreb, Croatia | GPG key: C6E7162D

Re: Announcing Django Noob Group

2009-02-19 Thread Matias Surdi
I don't think it is really needed. I think this list is perfectly OK for newbies and advanced users.There is not a clear line defining when you are a newbie and when you are an average user as well. Now, we must search two archives instead of just a centralized one. Bobby Roberts wrote: >

Re: Authentication with LDAP

2009-02-19 Thread João Olavo Baião de Vasconcelos
Finally! =) I downloaded [1] and added it as a new class in django/contrib/auth/backends.py. And then edited settings.py: """ [...] AUTHENTICATION_BACKENDS = ( 'django.contrib.auth.backends.LDAPBackend', #'django.contrib.auth.backends.ModelBackend', ) import ldap LDAP_DEBUG = True

Re: form media and duplicating javascript links

2009-02-19 Thread Alex Gaynor
On Thu, Feb 19, 2009 at 2:00 PM, christian.oud...@gmail.com < christian.oud...@gmail.com> wrote: > > I have alot of pages using javascript, and a lot of forms that specify > javascript in the Meta.media class. I keep having problems duplicating > javascript includes. This happens when i include

Announcing Django Noob Group

2009-02-19 Thread Bobby Roberts
... simpleton questions welcome, mentors encouraged to help... http://groups.google.com/group/djangonoobs --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: CheckboxInput widget has a flaw when used with an IntegerField

2009-02-19 Thread Mark Jones
Maybe because I have a list of values that I want the user to be able to select between. A list of 4 or so things that I want the user to be able to choose one or more of. Is there some better way to get this accomplished? On Feb 19, 11:43 am, Karen Tracey wrote: > On Thu,

form media and duplicating javascript links

2009-02-19 Thread christian.oud...@gmail.com
I have alot of pages using javascript, and a lot of forms that specify javascript in the Meta.media class. I keep having problems duplicating javascript includes. This happens when i include the form media with a context variable (e.g. {{ media }} ), but the template also specifies a

Re: admin foreignkey selection box question

2009-02-19 Thread Bobby Roberts
On Feb 19, 1:08 pm, Karen Tracey wrote: > On Thu, Feb 19, 2009 at 12:53 PM, Bobby Roberts wrote: > > > > Set a __unicode__ method on your Auction model. > > > -- > > > DR. > > > Hi Daniel... I'm new to the python world... can you tell me what that > >

Re: New password does not authenticate

2009-02-19 Thread Alex Gaynor
On Thu, Feb 19, 2009 at 1:36 PM, jeff wrote: > > OK, I know I'm missing something obvious here in my basic "Reset > Password for Forgetful User" form: > > email = form.cleaned_data.get( 'email' ) > username = form.cleaned_data.get( 'username' ) > new_password =

New password does not authenticate

2009-02-19 Thread jeff
OK, I know I'm missing something obvious here in my basic "Reset Password for Forgetful User" form: email = form.cleaned_data.get( 'email' ) username = form.cleaned_data.get( 'username' ) new_password = User.objects.make_random_password( length=6 ) u = User.objects.get( username__exact=username

Re: problem with PIL and Python2.5

2009-02-19 Thread Karen Tracey
On Thu, Feb 19, 2009 at 1:22 PM, Alessandro Ronchi < alessandro.ron...@soasi.com> wrote: > > I get an error when I try to upload a jpeg file. > > I've tried to compile PIL from scratch, and > python setup.py build_ext -i > > says: > --- JPEG support ok > --- ZLIB (PNG/ZIP) support ok > ---

problem with PIL and Python2.5

2009-02-19 Thread Alessandro Ronchi
I get an error when I try to upload a jpeg file. I've tried to compile PIL from scratch, and python setup.py build_ext -i says: --- JPEG support ok --- ZLIB (PNG/ZIP) support ok --- FREETYPE2 support ok but when I try selftest: http://dpaste.com/122689/ I've tried everything. I'm running on

Re: admin foreignkey selection box question

2009-02-19 Thread Karen Tracey
On Thu, Feb 19, 2009 at 12:53 PM, Bobby Roberts wrote: > > > Set a __unicode__ method on your Auction model. > > -- > > DR. > > Hi Daniel... I'm new to the python world... can you tell me what that > even is? > A quick read through the tutorial would have covered it. If

Re: admin foreignkey selection box question

2009-02-19 Thread Bobby Roberts
> Set a __unicode__ method on your Auction model. > -- > DR. Hi Daniel... I'm new to the python world... can you tell me what that even is? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: MetaWeblog API vs. Atom Publishing Protocol support

2009-02-19 Thread Gour
> "Russell" == Russell Keith-Magee writes: Hi Russ, Russell> In this case, it looks like a combination of factors: Russell> 1) The age difference between the two tickets, Russell> 2) A Ticket that just hasn't been completely updated to the Russell> current triage

Re: CheckboxInput widget has a flaw when used with an IntegerField

2009-02-19 Thread Karen Tracey
On Thu, Feb 19, 2009 at 11:56 AM, Mark Jones wrote: > > forms.IntegerField(widget=forms.CheckboxInput(attrs={'value':1}), > required=False) > > won't work because > >def value_from_datadict(self, data, files, name): >if name not in data: ># A missing

Django/Apache/wsgi problems -- help!

2009-02-19 Thread Stephen Waterbury
I am a developer with a deadline -- not even a perfectionist, I just want it to work! ;) I am running Django 1.0.2-final on Ubuntu gutsy with Python 2.5. I am also using * django-registration 0.7 * django-profiles 0.2 Everything works fine with django's runserver. In the wsgi

Re: admin foreignkey selection box question

2009-02-19 Thread Daniel Roseman
On Feb 19, 5:25 pm, Bobby Roberts wrote: > Hi everyone. > > I have two models - one for "auctions" and one for "auction FAQs". > AuctionFAQs has a foreignkey field tied to the ID from auctions.  The > result of the selection box in my admin AuctionFAQs model is as > follows:

admin foreignkey selection box question

2009-02-19 Thread Bobby Roberts
Hi everyone. I have two models - one for "auctions" and one for "auction FAQs". AuctionFAQs has a foreignkey field tied to the ID from auctions. The result of the selection box in my admin AuctionFAQs model is as follows: - Auction object Auction object It's pulling

generic views and inline formsets

2009-02-19 Thread Marcin Kaszynski
Hi, in the oldforms times the generic views (create_object and update_object) used to handle edit_inline out of the box: ie. for the typical Poll/Question models I could just pass Poll to create_object and have it create poll objects AND related Question instances. With the inline settings

[JOB] - Python/Django - Sony Playstation

2009-02-19 Thread neil_k...@playstation.sony.com
Hi - I work at Playstation and we're looking to hire a Developer with Python and Django experience for our R team. This full-time opportunity is located in our Foster City, CA office. If interested in pursuing this opportunity, please contact me at neil_k...@playstation.sony.com Thanks, Neil

CheckboxInput widget has a flaw when used with an IntegerField

2009-02-19 Thread Mark Jones
forms.IntegerField(widget=forms.CheckboxInput(attrs={'value':1}), required=False) won't work because def value_from_datadict(self, data, files, name): if name not in data: # A missing value means False because HTML form submission does not # send results for

Re: Query that grabs objects before and after object

2009-02-19 Thread Tim
Watch out for using the PK as the range like that. It's possible for that query to return 0 records. If show_id is 10, but records with a PK of 6-9 don't exist, and records with a PK of 11-14 don't exist, you won't have any records returned. Unless, of course, that's what you want. Then carry

Re: Authentication with LDAP

2009-02-19 Thread Antoni Aloy
2009/2/19 João Olavo Baião de Vasconcelos : > On Wed, Feb 18, 2009 at 7:17 PM, Antoni Aloy wrote: >> >> This is a quite nice tutorial, perphaps it would help you. >> http://www.carthage.edu/webdev/?p=12 > > Thanks for the advice, Antoni. > > I tried

Re: Any way to show progress during a short process job?

2009-02-19 Thread Adam Stein
On Thu, 2009-02-19 at 09:54 -0500, Karen Tracey wrote: > You might want to read: > > http://code.djangoproject.com/ticket/6527 > > My sense from that ticket (and other half-remembered discussions of > iterators and HttpResponses) is that, if this is working for you now, > you are just lucky

Re: Query that grabs objects before and after object

2009-02-19 Thread Sean Brant
> current_show = 5 #Presumably you get this in your request > show_range = (current_show - 4, current_show + 4) > shows = Show.objects.filter(show_order__range=show_range) This seems to work so far. shows = Show.objects.filter(Q(pk__range=(show_id - 4, show_id + 4) & Q (category=category))

Re: Readonly Field

2009-02-19 Thread Alex Gaynor
On Thu, Feb 19, 2009 at 10:44 AM, burcu hamamcıoğlu wrote: > hi , I want to make to display a field disabled(readonly) on admin form. > Could you please help me how can i do this? > > > > Here's an article I wrote on building a form field/widget to do this:

Aspect Orientation?

2009-02-19 Thread RaoB
Is anything being done to include aspect orientation in dJango, to be able to easily and dynamically modify behaviors etc.? http://www.cs.tut.fi/~ask/aspects/download.shtml seems interesting? Rao --~--~-~--~~~---~--~~ You received this message because you are

Readonly Field

2009-02-19 Thread burcu hamamcıoğlu
hi , I want to make to display a field disabled(readonly) on admin form. Could you please help me how can i do this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: My app is missing!

2009-02-19 Thread Tim
The problem is that you are using the manage.py that is in the project_template directory, which will load the settings.py file from the project_template directory. You need to use the manage.py that is in the akonline directory, so that the proper settings.py file is loaded.

Re: GeoDjango - Distance between MultiPointFields?

2009-02-19 Thread GRoby
Alfonso, I ran into similar types of issues when I was importing data into my project. I ended up just converting all MultiLine and MultiPolygon fields into Regular Line and Polygon fields using through a GeoDjango script (using the 1st Line and Polygon of each feature as the input for creating

Re: WYSIWYG Image upload challenge

2009-02-19 Thread phoebebright
Where do I do the compare though as the headers are not being returned - the file is being downloaded so I don't get to see what might be different. (Using Firefox Firebug NET option - very helpful otherwise). It's the browser making the decision about how to handle the request (Isn't it?). On

Re: Django

2009-02-19 Thread Eric Abrahamsen
On Feb 19, 2009, at 10:05 PM, Nalini wrote: > > While inputting an invalid username and password it should throw an > alert message saying "invalid user". How to get this in django? Do i > need to add something in views.py? It's hard to know exactly what you're doing here, but I'm going to

Re: Any way to show progress during a short process job?

2009-02-19 Thread Karen Tracey
On Thu, Feb 19, 2009 at 9:04 AM, Adam Stein wrote: > > Thanks Kevin and Malcom for responding. > > Kevin is right in that I don't need AJAX. I came up with a different > method that also allows me to change the string above my progress bar to > reflect what I'm actually

Re: Login to another system with django

2009-02-19 Thread Jeff Anderson
ganno wrote: > Hi all, > > I am new to django.And i need to develope a login system which > manage my session on another php site.Main login is from django site > but when i redirects my page then my session is not maintained and and > i will be redirected as anonymous user not as current

Re: Django CMS and Tiny_mce - ERROR 'module' object has no attribute 'JS_URL'

2009-02-19 Thread phoebebright
Glad it's sorted! On Feb 19, 10:58 am, zegerman wrote: > Thx Phoebe, > > but it wasn't the path. > > u have to change the admin.py > from > widgets.JS_URL, > to > widgets.tinymce.settings.JS_URL, > >

Re: Modifying pythonpath in settings.py

2009-02-19 Thread felix
possible side effect: I wrote some class that runs during settings.py and customizes settings (dev/live/beta) it logs when doing that, and so I've noticed that settings gets parsed 4 times ! loading ENVIRONMENT: local_settings.py SITE_URL is: http://127.0.0.1:8000 loading ENVIRONMENT:

Re: Modifying pythonpath in settings.py

2009-02-19 Thread chazmatazz
Instead of 3), for mod_python you can create a wrapper around ModPythonHandler like this example from the Pinax Project: http://svn.pinaxproject.com/pinax/trunk/projects/basic_project/deploy/modpython.py import os import sys from os.path import abspath, dirname, join from site import

Re: Authentication with LDAP

2009-02-19 Thread João Olavo Baião de Vasconcelos
On Wed, Feb 18, 2009 at 7:17 PM, Antoni Aloy wrote: > This is a quite nice tutorial, perphaps it would help you. > http://www.carthage.edu/webdev/?p=12 > Thanks for the advice, Antoni. I tried authenticating with LDAP using the python interpreter, and I got this error:

Re: Django Models blank=False Problem

2009-02-19 Thread Karen Tracey
On Thu, Feb 19, 2009 at 7:45 AM, madhav wrote: > > I have a model something like this: > class CandidateEmailMessage(models.Model): >from_email = models.EmailField(max_length=100) >to_email = models.EmailField(max_length=100) >body = models.TextField() >

Django

2009-02-19 Thread Nalini
While inputting an invalid username and password it should throw an alert message saying "invalid user". How to get this in django? Do i need to add something in views.py? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Weird error on Foreign key save?

2009-02-19 Thread Karen Tracey
On Thu, Feb 19, 2009 at 5:24 AM, Alfonso wrote: > > Karen, > > Good point - I will certainly use dpaste in the future. Here's the > traceback, I should have copied that in right from the start: > > Traceback: > [snip] File

Re: Any way to show progress during a short process job?

2009-02-19 Thread Adam Stein
Thanks Kevin and Malcom for responding. Kevin is right in that I don't need AJAX. I came up with a different method that also allows me to change the string above my progress bar to reflect what I'm actually doing at the moment. My method (roughly) involves setting the HTTPResponse content to

Django Models blank=False Problem

2009-02-19 Thread madhav
I have a model something like this: class CandidateEmailMessage(models.Model): from_email = models.EmailField(max_length=100) to_email = models.EmailField(max_length=100) body = models.TextField() objects = CandidateEmailMessageManager() As the django documentation says

ImageField causing error when rendering with "The Image" attribute has no file associated with it.

2009-02-19 Thread mermer
Since I've upgraded to Django ver 1.00, I'm suddenly getting the following error with my ImageFields. The tag is {{ model.image.url}} and it throws an error if the image field in the database is null (even if it is set to null in the model) Am I missing something? Here is the error message

Re: My app is missing!

2009-02-19 Thread djandrow
I may just try creating a new app and see if that works and if it does just copy the things over. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: MetaWeblog API vs. Atom Publishing Protocol support

2009-02-19 Thread Russell Keith-Magee
On Thu, Feb 19, 2009 at 7:45 PM, Gour wrote: > Hi! > > I'm new to Django exploring what can be done with it and I'd like that > blog users could use some of desktop blog clients to publish their posts > to Django-powered blog site, so I did some research about support for >

Re: Django CMS and Tiny_mce - ERROR 'module' object has no attribute 'JS_URL'

2009-02-19 Thread zegerman
Thx Phoebe, but it wasn't the path. u have to change the admin.py from widgets.JS_URL, to widgets.tinymce.settings.JS_URL, source: http://groups.google.com/group/django-cms/browse_thread/thread/88dfe2358d900a85?hl=en On 18 Feb., 19:59, Phoebe Bright wrote: > My

MetaWeblog API vs. Atom Publishing Protocol support

2009-02-19 Thread Gour
Hi! I'm new to Django exploring what can be done with it and I'd like that blog users could use some of desktop blog clients to publish their posts to Django-powered blog site, so I did some research about support for MetaWeblog and Atom PP in DJango which has brought me to the two tickets:

GeoDjango - Distance between MultiPointFields?

2009-02-19 Thread Alfonso
I'm getting an error - "PostGIS spherical operations are only valid on PointFields." when I try to do a distance search on a MultiPointField in the db. I kind of understand why but wonder if it's possible to do such a query at all on MultiPointFields? All I'm looking for is: england_pnt =

Re: Weird error on Foreign key save?

2009-02-19 Thread Alfonso
Karen, Good point - I will certainly use dpaste in the future. Here's the traceback, I should have copied that in right from the start: Traceback: File "/home/queryclick/webapps/django/lib/python2.5/django/core/ handlers/base.py" in get_response 86. response =

login in django via plone

2009-02-19 Thread Alan
Hi There, We have Plone/Zope site for CMS and users registration. It came before django for us. But now we are developing portal applicatons done with django (much better to develop and maintain) and we have this question now: how to allow a user to login in django portal using his/her login and

Re: Struggling with annotations / aggregations

2009-02-19 Thread Stefan Tunsch
Thanks for the answer. I understand the implications of it. I'll keep an eye on the stated ticket. Keep up with the good work. Stefan Russell Keith-Magee escribió: On Thu, Feb 19, 2009 at 2:32 AM, Stefan Tunsch wrote: Hi there! I'm trying to see what's

Login to another system with django

2009-02-19 Thread ganno
Hi all, I am new to django.And i need to develope a login system which manage my session on another php site.Main login is from django site but when i redirects my page then my session is not maintained and and i will be redirected as anonymous user not as current user.I want to make that