Re: IDE for Python/django

2010-09-27 Thread bedros
I'm pretty happy with openkomodo.org Edit. my favorite feature is allowing me to open and edit file on a remote server using ssh transparently. Bedros On Sep 27, 9:59 pm, girish shabadimath wrote: > Hi all, > > Thanks for the replies,,i got bunch of IDEs.. will

Re: possible bug in models using db_column

2010-09-27 Thread Xavier Ordoquy
Hi tom, There are no reason why your code should work. >>> shrubentry = shrub(uid_string_id = rootentry.uid_string) >>> treeentry = tree(uid_string = rootentry.uid_string) I hardly see why you are using uid_string_id on the first while using uid_string (without the _id) on the second. If you

Re: DjangoCon 2011

2010-09-27 Thread Kenneth Gonsalves
On Mon, 2010-09-27 at 22:51 -0400, Steve Holden wrote: > I'd just like to briefly report back on the inquiries Nancy and I have > been making into East coast venues for DjangoCon 2011. just curious - why a hotel? In India we hold such conferences in universities/colleges - they provide all

Re: IDE for Python/django

2010-09-27 Thread Kenneth Gonsalves
On Mon, 2010-09-27 at 15:07 +0200, bagheera wrote: > Dnia 27-09-2010 o 15:00:51 girish shabadimath > > napisał(a): > > > actually i use vim for writing python scripts , i wanted IDE to easy > my > > tasks of writing script (like auto-completion) ,,,i dont want GUI

Re: IDE for Python/django

2010-09-27 Thread girish shabadimath
Hi all, Thanks for the replies,,i got bunch of IDEs.. will figure out which is best for my work environment On Tue, Sep 28, 2010 at 7:51 AM, Brandon Taylor wrote: > Aptana Studio 2 & 3 Beta + PyDev on Linux makes a great dev > environment for Django. You can create

Re: DjangoCon 2011

2010-09-27 Thread Олег Корсак
Make conference in eastern europe :) - Исходное сообщение - > I'd just like to briefly report back on the inquiries Nancy and I have > been making into East coast venues for DjangoCon 2011. This is not a > final answer, simply reassurance that things have actually been > happening. > >

Re: DjangoCon 2011

2010-09-27 Thread David Zhou
Is the bay area right out for cost reasons? dz Sent from my iPhone On Sep 27, 2010, at 8:48 PM, Samuel Baldwin wrote: > 2010/9/27 Franklin Einspruch : >> May I humbly suggest Boston? > > Another for Boston. > -- > Samuel Baldwin -

Re: DjangoCon 2011

2010-09-27 Thread Samuel Baldwin
2010/9/27 Franklin Einspruch : > May I humbly suggest Boston? Another for Boston. -- Samuel Baldwin - logik.li -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: DjangoCon 2011

2010-09-27 Thread Steve Holden
On 9/27/2010 11:02 PM, Shawn Milochik wrote: > > I live on the east coast, but the past two DjangoCons have caused me > > to fall in love with Portland. It would be a treat for me to get to > > go there again in 2011. > > > > In fact, if it's in Portland next year I plan to make a family > >

Re: DjangoCon 2011

2010-09-27 Thread Franklin Einspruch
May I humbly suggest Boston? - a Bostonian On Mon, Sep 27, 2010 at 11:00 PM, Joe Casper wrote: > How about Atlanta or Orlando? > > Sent from my iPhone > > On Sep 27, 2010, at 10:51 PM, Steve Holden wrote: > >> I'd just like to briefly report back on

Re: DjangoCon 2011

2010-09-27 Thread Russell Keith-Magee
On Tue, Sep 28, 2010 at 10:51 AM, Steve Holden wrote: > I'd just like to briefly report back on the inquiries Nancy and I have > been making into East coast venues for DjangoCon 2011. This is not a > final answer, simply reassurance that things have actually been happening. >

Re: DjangoCon 2011

2010-09-27 Thread Shawn Milochik
I live on the east coast, but the past two DjangoCons have caused me to fall in love with Portland. It would be a treat for me to get to go there again in 2011. In fact, if it's in Portland next year I plan to make a family vacation of it. So, that's my vote, for whatever it's worth. Hope to

DjangoCon 2011

2010-09-27 Thread Steve Holden
I'd just like to briefly report back on the inquiries Nancy and I have been making into East coast venues for DjangoCon 2011. This is not a final answer, simply reassurance that things have actually been happening. Sadly, New York is out for 2011. Those (very few) venues whose costs are low

Removing the 'site' (not the website/url) field from django-comments

2010-09-27 Thread EJ
Hi all, I'm trying to have comments on my sites shown on all other sites, as I have a 'mobile' skin for my site on a separate domain and site_id. So for example: Joe posts a comment on http://www.site1.mydomain.com Mary goes to http://www.mobilesite.mydomain.com and can see and respond to Joe's

Re: IDE for Python/django

2010-09-27 Thread Brandon Taylor
Aptana Studio 2 & 3 Beta + PyDev on Linux makes a great dev environment for Django. You can create runtimes for debugging, add modules to the Python path for your project, like the site-packages folder from a virtualenv. You'll get code assist for Python, HTML, CSS and JavaScript. A number of

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-27 Thread Diederik van der Boor
Op maandag 27 september 2010 09:08:53 schreef MrMuffin: > Where do you put your business logic in django? In my project I`ve put > it into the models.py, but that file soon become huge and hard to > maintain. Of course I can just stuff it into whatever file I like, but > I`d like to have some

Re: is there any certification for Django developers?

2010-09-27 Thread Samuel Baldwin
2010/9/27 nyambaa : > Is there any certification for Django developers? Experience. -- Samuel Baldwin - logik.li -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

is there any certification for Django developers?

2010-09-27 Thread nyambaa
Hello dear, Is there any certification for Django developers? 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-us...@googlegroups.com. To unsubscribe from this group, send email to

Re: IDE for Python/django

2010-09-27 Thread tayfur yilmaz
pycharm is very slow ı think for pycharm is wrote java programming language..wing ide is best.. 2010/9/28 Jason > PyCharm is pretty amazing but it costs $ after its out of beta. Best > code completion I've seen for Django. > > My ONLY complaint is you can't open up a

Re: IDE for Python/django

2010-09-27 Thread Jason
PyCharm is pretty amazing but it costs $ after its out of beta. Best code completion I've seen for Django. My ONLY complaint is you can't open up a python console during debug. It has a pretty good debugger but seeing as other IDEs have no problem here I don't know why they left it out. Still, I

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-27 Thread bruno desthuilliers
On 27 sep, 17:31, Thomas Weholt wrote: > On Mon, Sep 27, 2010 at 4:52 PM, bruno desthuilliers > >> ??? Which "django specific magic" ??? > > I was referring to syncdb. As far as I know, models defined outside > any models.py or models module won`t be picked up by

Re: IDE for Python/django

2010-09-27 Thread rafael.nu...@gmail.com
On Linux(Ubuntu) I am loving Aptana Studio 3. Good performance, and form me that used Eclipse for almost 7 years, it fits perfectly. On Mon, Sep 27, 2010 at 3:40 PM, Masklinn wrote: > On 2010-09-27, at 16:29 , fcaldera wrote: > > On 27 Set, 14:52, Masklinn

Re: Vim for Python and Django

2010-09-27 Thread flebber
OKay thanks for the tortoisehg link.I get an error when trying to use the hg command C:\>hg clone https://trespams-vim.googlecode.com/hg/ trespams-vim requesting all changes adding changesets adding manifests adding file changes added 13 changesets with 223 changes to 197 files updating to

using both SQL and NonSql (MondoDB) in same project?

2010-09-27 Thread Bill Seitz
I know Django will support multiple SQL databases by just having a tuple of DATABASES entries in settings.py. But can I put a single item in DATABASES for a SQL part, and a 'from mongoengine import connect' section in as well? I'd like to have users/accounts/payments in SQL, and all my main/

Client#post returns None for response

2010-09-27 Thread Aljoša Mohorović
i'm trying to test post request using Client from django.test.client (v1.1.2) but it returns None for response. target url is a django-piston resource and i can test it normally from django shell: >>> h.request(url, "POST", urlencode(data)) # h is httplib2.Http object but when i try to use

Is this safe? (django.utils.translation.activate)

2010-09-27 Thread ringemup
I picked up a tip on dynamic translation here: http://fseoane.net/blog/2009/django-change-language-settings-dynamically Basically, you import "activate" from django.utils.translation, and use that as necessary to change your active language on the fly (something I need to do in order to store

Makemessages with Templates - Not Working

2010-09-27 Thread Katrina
I am currently translating a project, and many of the strings needing translation are located in my templates. Unfortunately, the .po files are not being created when I run makemessages, which I am doing from my project home using: ./manage.py makemessages -l es -e html,shtml Makemessages is

Re: problem with saving a form

2010-09-27 Thread Nick Serra
You're just all around doing it wrong. A ModelForm is used so that you don't have to individually list all the fields you need, it is based off the model. What is the code for your Model? And also, I'd reread the form reference from the start. On Sep 26, 5:25 pm, Marc Aymerich

Re: notification in python

2010-09-27 Thread Erik Cederstrand
Den 27/09/2010 kl. 19.02 skrev harryos: > thanks for the pointer > I am trying to get something similar to changedetection but with > hourly updates. > I need to get updates from a number of sites..So I was wondering how > to implement an updating utility You could also try looking at the HTTP

A custom "autoincrement" field type

2010-09-27 Thread Christophe Pettus
Hi, I'd like to use a UUID as my primary key in a PostgreSQL-backed Django database. As with a serial primary key, I'd like the database rather than Django to supply the initial value of the primary key; the primary key field in the DB is declared as DEFAULT uuid_generate_v4(). It *almost*

Re: IDE for Python/django

2010-09-27 Thread Masklinn
On 2010-09-27, at 16:29 , fcaldera wrote: > On 27 Set, 14:52, Masklinn wrote: >> On 2010-09-27, at 14:51 , girish shabadimath wrote:> hi all, >> >>> is there any IDE for Python/Django ? >> >> Yes. > > Could you be less specific, please? Probably. -- You received this

Re: IDE for Python/django

2010-09-27 Thread Antoni Aloy
>> >> 2010/9/27 João Rodrigues >>> >>> http://code.google.com/p/trespams-vim/ Well I'm a little biased towards vim after all I try to mantain the trespams-vim, but I have tested nearly all the IDEs that have been posted in this thread, and my conclusion is that no exists

Re: IDE for Python/django

2010-09-27 Thread tayfur yilmaz
Wing ide is best.for qt programming and django.. 2010/9/27 Sandro Dutra > I like Eric and Aptana. > > 2010/9/27 João Rodrigues > > http://code.google.com/p/trespams-vim/ >> >> On 27 September 2010 14:00, girish shabadimath >>

Re: Flatpages incorrect 302 to 404

2010-09-27 Thread Josh
As far as I know I constructed the urls properly. For example one of them was /policy/ (that's how it looked in flatpages). I did find another work around though. I removed the flatpages middleware from my settings. And then I added this to my urls: urlpatterns += patterns('',

Re: notification in python

2010-09-27 Thread Shawn Milochik
I did a quick Google search and didn't find anything that was obviously solving this problem. I did see companies that sell this service, and probably with good reason. Due to dynamic content such as ads, data from RSS feeds, and simply auto-generated content from server-side code, it seems

Re: Flatpages incorrect 302 to 404

2010-09-27 Thread Piotr Kilczuk
2010/9/27 Josh : > bump.  Does anyone have any ideas? Trailing slash issue? Just look into the middleware and see when the response code is modified. Regards, Piotr -- You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: IDE for Python/django

2010-09-27 Thread Sandro Dutra
I like Eric and Aptana. 2010/9/27 João Rodrigues > http://code.google.com/p/trespams-vim/ > > On 27 September 2010 14:00, girish shabadimath > wrote: > > actually i use vim for writing python scripts , i wanted IDE to easy my > > tasks of

Re: IDE for Python/django

2010-09-27 Thread João Rodrigues
http://code.google.com/p/trespams-vim/ On 27 September 2010 14:00, girish shabadimath wrote: > actually i use vim for writing python scripts , i wanted IDE to easy my > tasks of writing script (like auto-completion) ,,,i dont want GUI based,,i > prefer  editor like vim

django-treebeard: one tree per user?

2010-09-27 Thread João Rodrigues
Is it possible to have a tree for each user? I was trying something like this # - models.py -- # from django.db import Models from django.contrib.auth.models import User from treebeard.mp_tree import MP_Node class MyTree(MP_Node): user = models.ForeignKey(User) desc =

Re: notification in python

2010-09-27 Thread harryos
thanks for the pointer I am trying to get something similar to changedetection but with hourly updates. I need to get updates from a number of sites..So I was wondering how to implement an updating utility harry On Sep 27, 9:16 pm, Shawn Milochik wrote: > If you're asking

form validation for empty checkboxes that are not required (and they are the only fields present)

2010-09-27 Thread Skylar Saveland
I have some modelforms within a . Each form has one checkboxselectmultiple that is not required. If I post nothing (all checkboxes are empty) then all of the forms are invalid. If I post anything then all of the forms are valid. This anything could be that one of the forms has a box checked,

Flatpages soft 404

2010-09-27 Thread Josh
bump. Does anyone have any ideas? On Sep 24, 3:56 pm, Josh wrote: > I have a django project, its a satchmo store.  I have noticed that > when the flatpages middleware is in my settings.py 404s seem to be > handled incorrectly.  i.e. if a page really does not exist the server

Re: Flatpages incorrect 302 to 404

2010-09-27 Thread Josh
bump. Does anyone have any ideas? On Sep 24, 3:56 pm, Josh wrote: > I have a django project, its a satchmo store.  I have noticed that > when the flatpages middleware is in my settings.py 404s seem to be > handled incorrectly.  i.e. if a page really does not exist the server

Validation on a Many-to-Many Through model ( unique_together=[a, b, c=1] )

2010-09-27 Thread Heleen
I have the following models (simplified example): class Book(models.Model): users = models.ManyToManyField(User, through=Permission) class Permission(models.Model): user = models.ForeignKey(User) role = models.ForeignKey(Group) active = models.BooleanField() book = models.ForeignKey(Book)

possible bug in models using db_column

2010-09-27 Thread t...@eyesonic.net
Today, I stumbled over an at first sight strange behaviour using models (db). It looks like a bug. I posted the code on stackoverflow: http://stackoverflow.com/questions/3805752/possible-bug-in-django-models greetings, tom -- You received this message because you are subscribed to the Google

Re: notification in python

2010-09-27 Thread Shawn Milochik
If you're asking for functionality like this: http://www.changedetection.com/ Or are you looking for something to embed in your own code to know when something has happened on your own site? If the former, you can probably do it by scheduling a urlopen and saving its hash, comparing it each

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-27 Thread Steve Holden
On 9/27/2010 11:31 AM, Thomas Weholt wrote: > On Mon, Sep 27, 2010 at 4:52 PM, bruno desthuilliers > wrote: >> On 27 sep, 12:55, Thomas Weholt wrote: >>> On Mon, Sep 27, 2010 at 12:40 PM, Steve Holden wrote: I

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-27 Thread werefr0g
Hello, The following is quite long but reflects a non developper point of view. I'll expose briefly that business analysis already splits logic and why I think you should follow previous recommandations. I'll finish "out of subject" commenting your documentation request. > Split business

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-27 Thread Thomas Weholt
On Mon, Sep 27, 2010 at 4:52 PM, bruno desthuilliers wrote: > On 27 sep, 12:55, Thomas Weholt wrote: >> On Mon, Sep 27, 2010 at 12:40 PM, Steve Holden wrote: >> > I think the point is to learn enough Python that you

Re: In admin, is there a post-commit hook that is executed after all models and inlines are saved?

2010-09-27 Thread jonathan.morgan
Thank you for the tip! I'll have to check this one out. That does look like it could have been helpful. I missed it in going over the documentation. Do you have any good links to documentation on it? The django admin page where it is mentioned is spartan, and I'd like to see what the parent

Re: IDE for Python/django

2010-09-27 Thread pixelcowboy
For linux/ubuntu there is also Eric IDE. It has django plugin. On Sep 27, 7:38 am, Sithembewena Lloyd Dube wrote: > Less? He could probably ask, "is there any IDE?" > > ^^ Couldn't let that one slip by...haven't trolled in a while :) > > On Mon, Sep 27, 2010 at 4:29 PM,

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-27 Thread bruno desthuilliers
On 27 sep, 12:55, Thomas Weholt wrote: > On Mon, Sep 27, 2010 at 12:40 PM, Steve Holden wrote: > > I think the point is to learn enough Python that you don't need > > Django-specific advice. > > > [Thinks: definitely time for a "Python for

Re: IDE for Python/django

2010-09-27 Thread Sithembewena Lloyd Dube
Less? He could probably ask, "is there any IDE?" ^^ Couldn't let that one slip by...haven't trolled in a while :) On Mon, Sep 27, 2010 at 4:29 PM, fcaldera wrote: > > > On 27 Set, 14:52, Masklinn wrote: > > On 2010-09-27, at 14:51 , girish

Re: IDE for Python/django

2010-09-27 Thread fcaldera
On 27 Set, 14:52, Masklinn wrote: > On 2010-09-27, at 14:51 , girish shabadimath wrote:> hi all, > > > is there any IDE for Python/Django ? > > Yes. Could you be less specific, please? -- You received this message because you are subscribed to the Google Groups

Re: Accessing schemas in django

2010-09-27 Thread shmengie
Using the later django versions, supports mutiple database/schemas with a DATABASES dict in settings.py your modles can select different db's on the fly: result = MyModel.objects.using('anotherdb').filter... Should get you there. On Sep 27, 4:37 am, Jean-Pierre De Villiers

Re: JavaScript with Dango

2010-09-27 Thread shmengie
Javascript is a bugger and miserably difficult to debunk and implement. Google blows me away, in that they actually developed google apps with it. Kudos! I suspected it was possible, but think my brain would end up looking like funky grey mushy matter if I were one of the developers on the team

No caching if request.GET not empty

2010-09-27 Thread Thomas Guettler
Hi, requests with a query string (http://example.com?foo=bar) are not cached in Django: http://code.djangoproject.com/svn/django/trunk/django/middleware/cache.py {{{ if not request.method in ('GET', 'HEAD') or request.GET: request._cache_update_cache = False

Re: IDE for Python/django

2010-09-27 Thread Carlos Daniel Ruvalcaba Valenzuela
So far there is 3 big ones for django, Eclipse + PyDev or Aptana + PyDev, WingIDE (latest version can even debug django templates) and PyCharm. If you want something OSS or Free Eclipse or Aptana, otherwise you may want to checkout both WingIDE and PyCharm to see if you like one of those.

Re: IDE for Python/django

2010-09-27 Thread bagheera
Dnia 27-09-2010 o 15:00:51 girish shabadimath napisał(a): actually i use vim for writing python scripts , i wanted IDE to easy my tasks of writing script (like auto-completion) ,,,i dont want GUI based,,i prefer editor like vim which supports python scripts

Re: IDE for Python/django

2010-09-27 Thread girish shabadimath
actually i use vim for writing python scripts , i wanted IDE to easy my tasks of writing script (like auto-completion) ,,,i dont want GUI based,,i prefer editor like vim which supports python scripts On Mon, Sep 27, 2010 at 6:26 PM, Sithembewena Lloyd Dube wrote: > Hi Girish,

Re: IDE for Python/django

2010-09-27 Thread Sithembewena Lloyd Dube
yw. SPE is strictly a Python IDE, so I am not aware of any support for Django tags. If you are comfortable with client-side coding, I reckon you shouldn't really need that anyway. On Mon, Sep 27, 2010 at 2:56 PM, girish shabadimath < girishmss.1...@gmail.com> wrote: > thanks a lot... > > > On

Re: IDE for Python/django

2010-09-27 Thread Ramdas S
On Mon, Sep 27, 2010 at 6:24 PM, girish shabadimath < girishmss.1...@gmail.com> wrote: > im using ubuntu machine so which IDE is best suited for this machine. > > > On Mon, Sep 27, 2010 at 6:23 PM, girish shabadimath < > girishmss.1...@gmail.com> wrote: > >> can u please tell me which is it.. >>

Re: IDE for Python/django

2010-09-27 Thread girish shabadimath
thanks a lot... On Mon, Sep 27, 2010 at 6:28 PM, bagheera wrote: > Dnia 27-09-2010 o 14:51:15 girish shabadimath > napisał(a): > > > hi all, >> >> is there any IDE for Python/Django ? >> >> > Most will probably recommend Eclipse + pydev plugin or

Re: IDE for Python/django

2010-09-27 Thread Sithembewena Lloyd Dube
Hi Girish, I do not know what platform you work on, but on Windows try Jetbrains PyCharm. On Linux, try SPE, or Eclipse with Pydev extensions (the latter is also available on Windows). What are you looking for in an IDE? Give more info to get a better answer. On Mon, Sep 27, 2010 at 2:52 PM,

Re: IDE for Python/django

2010-09-27 Thread girish shabadimath
im using ubuntu machine so which IDE is best suited for this machine. On Mon, Sep 27, 2010 at 6:23 PM, girish shabadimath < girishmss.1...@gmail.com> wrote: > can u please tell me which is it.. > > > On Mon, Sep 27, 2010 at 6:22 PM, Masklinn wrote: > >> On 2010-09-27, at

Re: IDE for Python/django

2010-09-27 Thread bagheera
Dnia 27-09-2010 o 14:51:15 girish shabadimath napisał(a): hi all, is there any IDE for Python/Django ? Most will probably recommend Eclipse + pydev plugin or Aptana + pydev. I fell quite comfortable with NetBeans. Unfortunately it doesn't support django

Re: IDE for Python/django

2010-09-27 Thread girish shabadimath
can u please tell me which is it.. On Mon, Sep 27, 2010 at 6:22 PM, Masklinn wrote: > On 2010-09-27, at 14:51 , girish shabadimath wrote: > > hi all, > > > > is there any IDE for Python/Django ? > Yes. > > -- > You received this message because you are subscribed to the

Re: IDE for Python/django

2010-09-27 Thread Masklinn
On 2010-09-27, at 14:51 , girish shabadimath wrote: > hi all, > > is there any IDE for Python/Django ? Yes. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from

IDE for Python/django

2010-09-27 Thread girish shabadimath
hi all, is there any IDE for Python/Django ? -- Girish M S -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

Re: JavaScript with Dango

2010-09-27 Thread aug dawg
I found the link but since I don't really know any JavaScript (I was just kinda wondering if I should start learning it), I just downloaded it and installed it. It should come in handy at some point though. On Sun, Sep 26, 2010 at 8:02 PM, Axel Bock wrote: > I gotta say

Re: Can I install Django on my Webserver?

2010-09-27 Thread vikalp sahni
Yeah you can, most of the shared web hostings provide either of Passegener Fast CGI WSGI Modules to run python web apps. you need to check which one is installed for you and use the respective config. Regards, //Vikalp On Mon, Sep 27, 2010 at 12:58 PM, McFarlane wrote: > Hello,

Re: sql query: how to

2010-09-27 Thread chris hendrix
yeah i was looking at something like that... actually let me correct what i'm needing to do: select year(fieldname) as pubyear from table order by year(fieldname) asc On 09/27/2010 01:15 AM, akaariai wrote: The most efficient? Exactly that using raw SQL. I think something along the

Re: Accessing schemas in django

2010-09-27 Thread Jean-Pierre De Villiers
On Sep 27, 9:30 am, Nabil Servais wrote: >   Hello, > > Le 27/09/2010 08:53, Jean-Pierre De Villiers a crit : > > > Hi, > > Is there a way to access an existing database schema in Django? > > Any help would be appreciated! > > > J > > You can use the inspectdb option of

Can I install Django on my Webserver?

2010-09-27 Thread McFarlane
Hello, I'm curious if I can install django on my webserver. It is a cheap Webserver I used for PHP and Python scripts. My Problem is, that I am only able to toggle "Python support" with a checkbox on the Domain- Config-Panel. I cannot install any Packages to apache. Is it still possible to get a

Working with User Proxy

2010-09-27 Thread Derek
I am trying to get a working setup for improved display of user details in the Django Admin. I am working with a legacy database, so all tables have a character-based "username" (rather than the numeric one which Django uses), which is linked to the "auth_user" table. #models class

Plone Conference 2010 schedule published

2010-09-27 Thread Matt Hamilton
Hi all you Djangonauts... I thought some of you might be interested in finding out a little about what goes on over on the 'other side of the fence' ...in the Plone world. ;) Django being a fantastic framework for creating web apps with relational databases, and Plone being a content management

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-27 Thread Thomas Weholt
On Mon, Sep 27, 2010 at 12:40 PM, Steve Holden wrote: > On 9/27/2010 4:57 AM, Thomas Weholt wrote: >> On Mon, Sep 27, 2010 at 10:38 AM, bruno desthuilliers >> wrote: >>> On 27 sep, 09:08, MrMuffin wrote: Where do

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-27 Thread Steve Holden
On 9/27/2010 4:57 AM, Thomas Weholt wrote: > On Mon, Sep 27, 2010 at 10:38 AM, bruno desthuilliers > wrote: >> On 27 sep, 09:08, MrMuffin wrote: >>> Where do you put your business logic in django? >> >> Depends on the definition of

Re: Django 1.2.1. admin WYSIWYG editor

2010-09-27 Thread Sithembewena Lloyd Dube
Thanks everyone, got it right. On Wed, Sep 22, 2010 at 8:31 PM, tricks...@googlemail.com < p...@hotmail.co.uk> wrote: > What do you have in your settings.py? > > Make Sure you have the following configs > > TINYMCE_JS_URL (default: settings.MEDIA_URL + 'js/tiny_mce/ > tiny_mce.js') >

Re: SITE_ID

2010-09-27 Thread Tim Sawyer
> On 25/09/2010 18:32, Tim Sawyer wrote: >> On 25/09/10 15:57, craphunter wrote: >>> Yes, I have read it, but I don't really get it. What is the meaning of >>> it? >> >> Consider a website that has multiple blogs, all of which are deployed to >> the same database. >> >> Consider that you want each

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-27 Thread bruno desthuilliers
On 27 sep, 10:57, Thomas Weholt wrote: > Ok, I see your point, but still -  there`s nothing about this in the > main django documentation as far as I know. The docs should have a > section about organizing projects where the standard models.py and > views.py doesn`t fit

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-27 Thread Piotr Zalewa
On 09/27/10 09:57, Thomas Weholt wrote: > On Mon, Sep 27, 2010 at 10:38 AM, bruno desthuilliers > wrote: >> Using the package's __init__.py as a facade is certainly not "hackish" >> - it's one of - if not the main - the raison d'être of this file. >> >> Now if your

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-27 Thread Benedict Verheyen
On 27/09/2010 9:08, MrMuffin wrote: > Where do you put your business logic in django? In my project I`ve put > it into the models.py, but that file soon become huge and hard to > maintain. Of course I can just stuff it into whatever file I like, but > I`d like to have some standard way of doing

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-27 Thread Thomas Weholt
On Mon, Sep 27, 2010 at 10:38 AM, bruno desthuilliers wrote: > On 27 sep, 09:08, MrMuffin wrote: >> Where do you put your business logic in django? > > Depends on the definition of "business logic", but : > >> In my project I`ve put >> it

Re: SITE_ID

2010-09-27 Thread Benedict Verheyen
On 25/09/2010 18:32, Tim Sawyer wrote: > On 25/09/10 15:57, craphunter wrote: >> Yes, I have read it, but I don't really get it. What is the meaning of >> it? > > Consider a website that has multiple blogs, all of which are deployed to the > same database. > > Consider that you want each blog

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-27 Thread bruno desthuilliers
On 27 sep, 09:08, MrMuffin wrote: > Where do you put your business logic in django? Depends on the definition of "business logic", but : > In my project I`ve put > it into the models.py, That's also what I tend to do for anything that's not a pure utility class or

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-27 Thread Thomas Weholt
On Mon, Sep 27, 2010 at 10:07 AM, Mike Dewhirst wrote: > On 27/09/2010 5:08pm, MrMuffin wrote: >> >> Where do you put your business logic in django? In my project I`ve put >> it into the models.py, but that file soon become huge and hard to >> maintain. Of course I can just

notification in python

2010-09-27 Thread harryos
hi Is there an opensource notification utility in python/django?I mean, something I can use to know when a website updates a page? If someone knows about one,please let me know thanks harry -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Accessing schemas in django

2010-09-27 Thread Mike Dewhirst
On 27/09/2010 4:53pm, Jean-Pierre De Villiers wrote: Hi, Is there a way to access an existing database schema in Django? Any help would be appreciated! google for 'existing schema django' J -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-27 Thread Mike Dewhirst
On 27/09/2010 5:08pm, MrMuffin wrote: Where do you put your business logic in django? In my project I`ve put it into the models.py, but that file soon become huge and hard to maintain. Of course I can just stuff it into whatever file I like, but I`d like to have some standard way of doing this.

Re: Accessing schemas in django

2010-09-27 Thread Nabil Servais
Hello, Le 27/09/2010 08:53, Jean-Pierre De Villiers a écrit : Hi, Is there a way to access an existing database schema in Django? Any help would be appreciated! J You can use the inspectdb option of the project manager, you will find more information in the official documentation :

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-27 Thread Subhranath Chunder
Sometimes I put it in some 'utils.py' in the app directory, and sometimes in 'views.py' itself, with leading underscores, whichever I feel is more appropriate. I guess this would be more of the developer's choice. Any better suggestions? Thanks, Subhranath Chunder. On Mon, Sep 27, 2010 at 12:43

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-27 Thread Antoni Aloy
2010/9/27 MrMuffin : > Where do you put your business logic in django? In my project I`ve put > it into the models.py, but that file soon become huge and hard to > maintain. Of course I can just stuff it into whatever file I like, but > I`d like to have some standard way

Accessing schemas in django

2010-09-27 Thread Jean-Pierre De Villiers
Hi, Is there a way to access an existing database schema in Django? Any help would be appreciated! J -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this

Re: Upload a File using the request.POST data

2010-09-27 Thread Sam Lai
On 27 September 2010 14:31, Danny Bos wrote: > There is no form, it's entirely Javascript. > Spoke to the creator of the script, who has popped up script examples > for PHP and ColdFusion he reckons: > > "You basically have to put the whole post contents into a file."

Re: In admin, is there a post-commit hook that is executed after all models and inlines are saved?

2010-09-27 Thread Subhranath Chunder
Hi, Since you have already done what you required, I'm not going much into detail, but your process basically looks pretty lengthy. Normally, to do these sort of stuff I only override two ModelAdmin methods: - save_model() - save_formset() Using them together normally serves any kind of