Re: [MOVED] Renaming of mailing lists to avoid user confusion

2008-08-20 Thread Tom Tobin
On Tue, Aug 19, 2008 at 11:16 AM, Tom Tobin <[EMAIL PROTECTED]> wrote: > As an aside (and perhaps this is a topic for another thread), I really > don't like that "meta" discussion gets shoved off into -users; > django-users is *far* too high-traffic, and I don&#x

Re: [MOVED] Renaming of mailing lists to avoid user confusion

2008-08-20 Thread Tom Tobin
On Tue, Aug 19, 2008 at 11:16 AM, Tom Tobin <[EMAIL PROTECTED]> wrote: > Let me propose a stopgap: edit the django-users and django-developers > pages to state, in large bold text, what the purpose of each list is > (this is "edit welcome message" in Google Groups). Let&

[MOVED] Renaming of mailing lists to avoid user confusion

2008-08-19 Thread Tom Tobin
On Tue, Aug 19, 2008 at 8:16 AM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Please take this thread to django-users. This list is for the internal > development of django and this thread doesn't contribute to that. Done. On Tue, Aug 19, 2008 at 8:14 AM, Jacob Kaplan-Moss <[EMAIL PROTECTED]

Chicago Djangonauts Meeting Tomorrow, May 29

2008-05-28 Thread Tom Tobin
Join us tomorrow for the first meeting of the Chicago Djangonauts! When: Thursday, May 29 @ 6:30p Where: Mercury Cafe, 1505 W Chicago Ave, Chicago IL Location info: http://www.chimercurycafe.com/ This first meeting will be informal -- just lounging and chatting. We're not expecting too many peop

Chicago Djangonauts list / meetings

2008-04-11 Thread Tom Tobin
I've started a Chicago Djangonauts list; apologies for the noise for the 99%+ of you not in the Chicago area. :-) http://groups.google.com/group/django-chicago I'll be starting discussion soon about when and where our first meeting should be (sometime in May); if we have enough interest, we'll

Are you getting caught in the Django Trac's spam filter? Read this.

2006-08-22 Thread Tom Tobin
you. Once I do this, you won't trigger the "Akismet rejected spam" or any other spam-rejection errors. Tom Tobin [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users

Re: MR: _manipulator_validate_FIELD() methods?

2006-08-08 Thread Tom Tobin
On 8/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Tom, > > Does the solution I posted [1] earlier in this thread not work for you? > > > [1] http://groups.google.com/group/django-users/msg/a76be4c94631ec80 Getting these manipulator-aware validators working in the admin is exactly the is

Re: MR: _manipulator_validate_FIELD() methods?

2006-08-08 Thread Tom Tobin
On 8/8/06, Tom Tobin <[EMAIL PROTECTED]> wrote: > On 8/8/06, Tom Tobin <[EMAIL PROTECTED]> wrote: > > On 5/6/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote: > > > > > > On 5/6/06, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > > > > >

Re: MR: _manipulator_validate_FIELD() methods?

2006-08-08 Thread Tom Tobin
On 8/8/06, Tom Tobin <[EMAIL PROTECTED]> wrote: > On 5/6/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote: > > > > On 5/6/06, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > > > > > > Matthew Flanagan wrote: > > > > > > >Since MR

Re: MR: _manipulator_validate_FIELD() methods?

2006-08-08 Thread Tom Tobin
On 5/6/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote: > > On 5/6/06, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > > > > Matthew Flanagan wrote: > > > > >Since MR merged the _manipulator_validate_FIELD() methods stopped > > >working. The solution I came up with was to write custom manipulators > > >

Re: psycopg2

2006-07-30 Thread Tom Tobin
On 7/30/06, Vance Dubberly <[EMAIL PROTECTED]> wrote: > postgresql_psycopg2 > > Yes I found it. Yes I know it's not supported . But could somebody tell me > how to tell it to shut up? My eyes are bleeding! :) The debug output is > just a little overwhelming and quite useless unless you are the mo

Re: Sniffing around django

2006-06-27 Thread Tom Tobin
On 6/27/06, Tom Tobin <[EMAIL PROTECTED]> wrote: > On 6/27/06, toth anna <[EMAIL PROTECTED]> wrote: > > > > Tom Tobin <[EMAIL PROTECTED]>: > > > You should be able to get the behavior you want by > > overriding the > > > save() method on yo

Re: Sniffing around django

2006-06-27 Thread Tom Tobin
On 6/27/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > On Jun 27, 2006, at 9:58 AM, toth anna wrote: > > I'm working on my thesis in our academy (i have to > > implement, too). > > Searching for an enviroment, i found django, and it looks > > very nice. > > After reading tutorial, i have som

Re: MS SQL Django suport is stable?

2006-06-21 Thread Tom Tobin
On 6/21/06, mamcxyz <[EMAIL PROTECTED]> wrote: > > I'm triying to setup a linux box with django, and frankly, I never > spect this task can be so HARD. Every step is a nightmare, I need > compile everything, the YUM/APT only have out-dated versions of the > things I need to run django. I have the

Re: Django Quick Start with Schema Evolution Support

2006-06-04 Thread Tom Tobin
On 6/4/06, Ilias Lazaridis <[EMAIL PROTECTED]> wrote: > > I've create a simple Schema Evolution Support for Django and I am > working to created a Django Quickstart, which will allow even > unexperienced users to see a django site running within their browsers. Ilias Lazaridis is a known mailing

Re: slug as primary key: any reason why not?

2006-05-09 Thread Tom Tobin
On 5/9/06, gabor <[EMAIL PROTECTED]> wrote: > > are there any scenarios when it's not a good idea to have [Slugs] as > primary keys? (except some hypothetical situations) The short answer: it's always a *bad* idea. The slightly longer answer: It's generally a bad idea to have your primary key be

Re: check for none

2006-04-13 Thread Tom Tobin
On 4/12/06, Jiri Barton <[EMAIL PROTECTED]> wrote: > > how do I check if a variable is None in a template? > > I want to be able to discern among None, empty list, and non-empty > list; then, I want to tell the user - say nothing, "nothing found", > "found the following:" resp. This is likely a si

Re: Django svn over https?

2006-04-10 Thread Tom Tobin
On 4/10/06, Adam <[EMAIL PROTECTED]> wrote: > > Augh, ok, sort of nevermind. Right after I hit "post", the guy who told > me our firewall wouldn't support WebDAV over http told me we have an > http proxy outside the firewall that I could use. So problem solved for > me, but it still might be useful

Re: Look at this! Perhaps a bug or a mistake

2006-04-03 Thread Tom Tobin
On 4/3/06, Douglas Campos <[EMAIL PROTECTED]> wrote: > > Any Clues? Works for me (the following being from ipython): In [9]: x = blog.entry.get_list() In [10]: x Out[10]: [, , ] In [11]: x[0] Out[11]: In [12]: x[0].time_published Out[12]: datetime.datetime(2006, 4, 3, 0, 45) In [13]: x = blo

Re: Advice on developing with django for a team of 10+

2006-03-16 Thread Tom Tobin
On 3/16/06, tonemcd <[EMAIL PROTECTED]> wrote: > > 3. People run their own local django installations, and commit changes > to a development server for testing before those changes are sent to > the deployment server. This means each individual user machine has to > have access to the databases and

Re: Django in Boo

2006-03-05 Thread Tom Tobin
On 3/5/06, gabor <[EMAIL PROTECTED]> wrote: > > >>> def f(y): > ... x = y * 3 > ... return x + y > ... > >>> f(5) > 20 > >>> f('_django_') > '_django__django__django__django_' > >>> > > you know...this whole 'static typing' thing is a little a double-edged > sword, isn't it? :)) You k

Re: Django in Boo

2006-03-03 Thread Tom Tobin
On 3/3/06, wizeman <[EMAIL PROTECTED]> wrote: > > Hi. I'm just starting to use Django and I'm loving it. > > Don't you think it would be great if Django was ported to Boo ( > http://boo.codehaus.org/ ) ? Err, knock yourself out porting it if you want (as it's BSD licensed after all), but I don't t

Re: postgresql

2006-02-26 Thread Tom Tobin
On 2/26/06, Mary Adel <[EMAIL PROTECTED]> wrote: > > I am using Django and now and i published my website but the problem is > that admin is not that good and sometimes he damages somethings so i > need to take a backup from the database of my project every night but i > don't know how to do this i

Re: Magic-removal roadmap?

2006-02-25 Thread Tom Tobin
On 2/25/06, Nicholas Matsakis <[EMAIL PROTECTED]> wrote: > > > Is there a (rough) timeframe set out for when the magic-removal branch > will be merged into the trunk? Will there be a Django release before that > which will incorporate all the improvements aside from the magic removal? > I'm not lo

Re: How To Calling a Flat page

2006-02-23 Thread Tom Tobin
Hmm, do you have the latest trunk? I know flatpages were broken at one point recently. On 2/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > "django.contrib.flatpages.middleware.FlatpageFallbackMiddleware" > > in settings. > > Did this. --~--~-~--~~~---~--~

Re: How To Calling a Flat page

2006-02-23 Thread Tom Tobin
On 2/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I am a bit unclear as to how to call a Flat page. > > I 've done the necessary work, created the default template, got > flatpages showing up in the admin and followed the instructions. Eg. my > Introduction page is named /int/. Did you

Re: flatpages

2006-02-21 Thread Tom Tobin
On 2/22/06, Mary Adel <[EMAIL PROTECTED]> wrote: > > how to call in flatpage a content i have saved in the database > ex i saved the path of the css and java script in the database and i > need to call it in my flatpage so how i could do this If those files change on a flatpage-by-flatpage basis,

Re: Css and Javascript

2006-02-21 Thread Tom Tobin
On 2/22/06, Mary Adel <[EMAIL PROTECTED]> wrote: > > I need to save the Css and the Java script file in the database so as i > can make the user change it easily so how i can do this in an easy way You could clone Flatpages for the other file types and ForeignKey each flatpage to a CSS entry and a

Re: Data Flow for an App to Another

2006-02-21 Thread Tom Tobin
On 2/21/06, iGL <[EMAIL PROTECTED]> wrote: > > Hi, > As I suppose, the Django's concept of separation of application from > a project, when several apps form the latter, is a very nice > abstraction of the traditional MVC. It would enable one to re-use apps > in an extent exceeding what is provided

Re: adding page

2006-02-20 Thread Tom Tobin
On 2/20/06, Mary Adel <[EMAIL PROTECTED]> wrote: > > I have a question and i have deadline tomm :( and really i need help > I build a model called pages which has page name and page link and page > content and then i build the database and i make the admin interface to > fill all the data but the p

Re: urllib2.open failing in Django?

2006-02-20 Thread Tom Tobin
On 2/20/06, Ned Batchelder <[EMAIL PROTECTED]> wrote: > > I found the problem on my end. It was a call to > socket.setdefaulttimeout(). The bug I had found but can't locate now > was correct: if you call that socket function, urllib2 (and httplib) > have very difficult times completing reads. Wa

Re: Django+Postgre+Apache+Windows

2006-02-11 Thread Tom Tobin
Okay, smack me for reading the subject line one second after hitting Send. :-p On 2/12/06, Tom Tobin <[EMAIL PROTECTED]> wrote: > On 2/11/06, David S. <[EMAIL PROTECTED]> wrote: > > > > Sorry for the lack of details, but any guidance is appreciated. > > That

Re: Django+Postgre+Apache+Windows

2006-02-11 Thread Tom Tobin
On 2/11/06, David S. <[EMAIL PROTECTED]> wrote: > > Sorry for the lack of details, but any guidance is appreciated. That's where I'd start — more details. ;-) Can you tell us, e.g., what platforms the two machines are running?

Re: Making Django Development server available to local network.

2006-02-05 Thread Tom Tobin
On 2/5/06, Panos Laganakos <[EMAIL PROTECTED]> wrote: > > Thing is, that when I try '$ python manage runserver 10.0.0.3:8000' to > start the server, it won't make it available to the network. Also, did you try just "python manage runserver 8000" (i.e., not specifying the host)?

Re: CLI application integration

2006-01-31 Thread Tom Tobin
On 1/31/06, aaloy <[EMAIL PROTECTED]> wrote: > > 2006/1/31, Kenneth Kalmer <[EMAIL PROTECTED]>: > > > > One thing however, the system will need a fair amount of CLI apps that > > will interact with other systems doing things like automated > > webservice calls and file transfer to name two. The sy

Re: Django and MS SQL

2006-01-10 Thread Tom Tobin
On 1/10/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > > Nonviolence is the way. ;-) Or, as Voltaire said over 200 years ago: "The perfect is the enemy of the good." (Well, okay, maybe he didn't say it in English.) :-p

Re: Django webhosting poll

2006-01-07 Thread Tom Tobin
On 1/7/06, PythonistL <[EMAIL PROTECTED]> wrote: > > As I can see by "premium quality hosting solutions" everyone can mean > something different :-( When web-host shopping (or any other sort of shopping, for that matter), always go by explicitly stated offerings, e.g., "your own Apache instance w

Re: Problem adding new classes to a model

2005-12-30 Thread Tom Tobin
On 12/30/05, aaloy <[EMAIL PROTECTED]> wrote: > OK. That should be the problem! > It would be nice to have an option to generate these inserts also.. There is. :-) django-admin.py sqlall model_module_goes_here or just django-admin.py sqlinitialdata model_module_goes_here If you don't need ev

Re: Search Functionality

2005-12-29 Thread Tom Tobin
On 12/29/05, David Pratt <[EMAIL PROTECTED]> wrote: > > Doesn't Swish-e pose an incompatibility for licensing? Everything Django > has been BSD up to this point and I would hate to see anything alter > this. Isn't swish-e gpl? Swish-e grants a special exemption from automatically GPL'ing linked p

Re: Is Django right now me?

2005-12-26 Thread Tom Tobin
On 12/27/05, reiale <[EMAIL PROTECTED]> wrote: > > Does Django sound right for this project? I don't know; I couldn't tell which of the dozen of your (accidentally, I assume) copy-and-pasted sections of your email to read. :-p

Re: TimeField Problem/Question

2005-12-07 Thread Tom Tobin
On 12/8/05, Brett Hoerner <[EMAIL PROTECTED]> wrote: > > Well, I'm using the latest svn checkout, at least as of last night, as > I noted in my first problem post. So, the error with TimeField and > auto_add* is still there for me. I guess I got thrown off by Daniel's suggestion; sorry to hear t

Re: TimeField Problem/Question

2005-12-07 Thread Tom Tobin
On 12/8/05, Daniel Ericsson <[EMAIL PROTECTED]> wrote: > There seem to be a fix in the new-admin branch -> http:// > code.djangoproject.com/changeset/1244 Or, in other words, the current trunk, since new-admin got merged a little while back. :-) In general, if you're having a problem and you're

Re: ANN: Django site on washingtonpost.com

2005-12-05 Thread Tom Tobin
On 12/5/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > Check it out: The first Django app at washingtonpost.com! Already added to my aggregator. ;-) BTW, is there any particular reason the Recent Votes feed is in Atom, while all the others are in RSS? (Not that my aggregator cares; just cu

Re: customizing admin

2005-11-28 Thread Tom Tobin
On 11/29/05, Medium <[EMAIL PROTECTED]> wrote: > > Robert Wittams wrote: > > >Medium wrote: > > > >>4. Can we change the template {{ variable }} to something like > >>${variable} I don't mind the {% %} but {%starttag%}{{var}}{%endtag%}.. > > > >You can assume this is not going to change, it w

Re: problem marketing django to php folk

2005-11-25 Thread Tom Tobin
On 11/26/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > hi, > have been talking to some php folk about switching to django, but > they have raised a serious concern: Django website does not have a > page for security alerts and the django team has not released any > security patches - so the

Re: lists in the django model system dealiomajigger.

2005-11-25 Thread Tom Tobin
On 11/25/05, possibilitybox <[EMAIL PROTECTED]> wrote: > > what is this normalizing of one's data? never heard about it. http://en.wikipedia.org/wiki/Database_normalization In short, it means defining any given piece of data in only one place.

Django Trac Spam

2005-11-23 Thread Tom Tobin
Someone's been spamming the Django Trac today, screwing up tickets and whatnot. Is there any way to fix and/or prevent this?

Re: Paginating complex queries

2005-11-22 Thread Tom Tobin
On 11/22/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > What is the Django Way (tm) to paginate complex queries with > user-controlled parameters? That is, if I want to paginate the results > of a foos.get_list({'lots': 'of_complex', ['junk': 'in here']}) where > the query terms are submitt

Re: ZODB Anyone ?

2005-11-20 Thread Tom Tobin
On 11/20/05, bruno modulix <[EMAIL PROTECTED]> wrote: > Only data are saved to the zodb. But you're still working with it solely in the form of a Python object (with aforementioned methods and all). With a SQL DB, you can access that data in a variety of ways, move it to a different database imp

Re: Patch to get the timezone right in the settings.py on linux

2005-11-20 Thread Tom Tobin
On 11/20/05, Brett Parker <[EMAIL PROTECTED]> wrote: > Attached is a patch against current svn (applies to 0.90 also), that > automatically sets TIME_ZONE and LANGUAGE_CODE according to the hosting > system. The best place for patches is Django's Trac: http://code.djangoproject.com/

Re: ZODB Anyone ?

2005-11-20 Thread Tom Tobin
On 11/20/05, Cheng Zhang <[EMAIL PROTECTED]> wrote: > > I am curious to learn more about why "object DBs are not good fit for > the MVC-like separation". Previously I had very basic exposure to > ZODB, along with the concept of object database, when I played with > Zope a bit years ago. Because w

Re: ZODB Anyone ?

2005-11-19 Thread Tom Tobin
On 11/19/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > This has never been tried, to my knowledge. It would be possible -- > and relatively easy -- to do if there were a DB-API-compliant ZODB > library. Is there one? I know nothing about ZODB, other than the fact > that it's associated with Zop

Re: Creating new tables

2005-11-14 Thread Tom Tobin
On 11/15/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > Not true; you can set up a model to deal with a database created by > > hand (although I'm not sure why you'd want to *purposely* create a > > database for Django by hand; it does a good job of taking care of > > that for you). > > what

Re: Creating new tables

2005-11-14 Thread Tom Tobin
On 11/14/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > On Tuesday 15 Nov 2005 12:26 am, panos wrote: > > b. can the new tables be accessed using the database API? > > no Not true; you can set up a model to deal with a database created by hand (although I'm not sure why you'd want to *purpo

Repeating Blocks Within a Template

2005-11-13 Thread Tom Tobin
A bit stumped here . . . Is there a recommended convention for repeating blocks within a template? e.g., I have a paginated object_list generic view, and I want to repeat my pager code (i.e., "back", "next") at both the top and bottom of the list without copying and pasting. -- Tom