Re: disabling a field

2008-05-06 Thread Kenneth Gonsalves
On 06-May-08, at 12:28 PM, Adam Findley wrote: > So I've been wondering how one goes about disabling a field in > newforms. I want it to look something like this: > > > > Anyone have any suggestions? I have been digging through google, > documentation and widgets, but have been unable to come

Re: file upload question

2008-05-06 Thread Kenneth Gonsalves
On 07-May-08, at 3:51 AM, Chris wrote: > > Hello I have a csv importer that I have made and I want to upload the > csv file through a form field as so: > > from django import newforms as forms > > class ImportForm(forms.Form): > """ > Form for importing CSV files > """ > csv_file

Re: very odd MySQL 'ascii' code error in MySQLdb/connections.py

2008-05-07 Thread Kenneth Gonsalves
On 07-May-08, at 12:49 PM, oliver wrote: > Now this all works fine till I get a non English PC using this (the > error below is from our very basic contact form!) > > Exception Type: UnicodeEncodeError at /contact-opal-students/ > Exception Value: 'ascii' codec can't encode character u'\xb4' in

Re: Announce: Djikiki - Django wiki application

2008-05-07 Thread Kenneth Gonsalves
On 07-May-08, at 12:50 PM, shabda wrote: > Please take it for a spin. Feedback, patches welcome. :) cool. s/dicussion/discussion/ -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/code/ --~--~-~--~~~---~--~~ You received this message be

Re: Django Website Good Example of Best Practice?

2008-05-07 Thread Kenneth Gonsalves
On 07-May-08, at 9:48 PM, rcs_comp wrote: > response. My question has to do with the code that runs the > djangoproject.org website. It can be found in the django SVN > repository. I am wondering if I could look at that code and assume > that it was using "best practice" principles? afaik, b

Re: gpl3 question

2008-05-08 Thread Kenneth Gonsalves
On 09-May-08, at 4:21 AM, Rho wrote: > Hi, hope somebody can clarify my doubt. > > How affects using a gpl3 app in a project? > > I meant a website project using an app under gpl3, like django- > profile. while you are free to choose any license whatsoever for your project, it is generally a

Re: Django and Linux distros

2008-05-16 Thread Kenneth Gonsalves
On 16-May-08, at 3:54 PM, JonSidnell wrote: > What works for you? try mandriva spring 2008 - perfect for people migrating from the windows world -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/code/ --~--~-~--~~~---~--~~ You receive

Re: This field is required. NO!

2008-05-16 Thread Kenneth Gonsalves
On 16-May-08, at 5:36 PM, Andre Meyer wrote: > after declaring a model class with an attribute that may be null > (pn) the admin site still tells me to fill in that field, because > "This field is required.", but it isn't. have you set blank=True? -- regards kg http://lawgon.livejournal.

Re: This field is required. NO!

2008-05-16 Thread Kenneth Gonsalves
On 16-May-08, at 5:48 PM, Andre Meyer wrote: > still need to figure out why ;-) by default, django treats all fields as not null and not blank. Usually, the 'null' part is enforced at the database level and the 'blank' part at django level. So for fields like CharFields, saying null is al

Re: uploading CSV files

2008-05-22 Thread Kenneth Gonsalves
On 21-May-08, at 5:10 PM, nandu wrote: > I am having a problem with where to start when I am faced with > uploading a CSV file. I do not want to create a model for the file as > there is no need for me to keep track of the files that I am uploading > to the server. you do not need a model - ju

Re: Does anyone use Eric to edit templates

2008-05-25 Thread Kenneth Gonsalves
On 25-May-08, at 10:37 AM, Gene Campbell wrote: > If there's something better than > Eric for templates, can you recommend? quanta -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/code/ --~--~-~--~~~---~--~~ You received this message

Re: "Includes" directory?

2008-06-03 Thread Kenneth Gonsalves
On 02-Jun-08, at 11:59 PM, Huuuze wrote: > I'm new to Django, so please be gentle. Basic question: when > developing a web app, I've typically created an "includes" directory > which stores commonly used functions or methods. From a best practice > standpoint, is it recommended that I create a

Re: Is there any Django module like ViewCV for svn repositories?

2008-06-03 Thread Kenneth Gonsalves
On 03-Jun-08, at 9:22 PM, The Code Janitor wrote: > I want to have a source code repository view on my Django site. I can > not find any such module available. trac -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/code/ --~--~-~--~~~---~--

Re: Does django-driven Blog popular?

2008-06-12 Thread Kenneth Gonsalves
On 13-Jun-08, at 8:51 AM, kylin wrote: > I am a newbie of django.Dose django-driven blog software pop? > Actually,I have not seen any blog software as good as wordpress ever. > Thus, why this fantastic framework have not driven a good enough blog > system? django is not a cms, it is a web frame

Re: Does django-driven Blog popular?

2008-06-12 Thread Kenneth Gonsalves
On 13-Jun-08, at 10:56 AM, Jeff Anderson wrote: >> I am looking forward to finding some samples to study.Could you give >> me any advices? >> > At work we were using wordpress to post information about changes we > made to the system. It didn't suit our needs, so I wrote a django blog > from scr

Re: Django Tutorial Clarification

2008-06-13 Thread Kenneth Gonsalves
On 13-Jun-08, at 12:54 PM, wave connexion(BQ) wrote: > 1. in reading overview, "you've got a free, and rich, Python API to > access your data. The API is created on the fly, no code generation > necessary?" > > Does this mean Django generated API code for you? django does not generate a sin

Re: Django Tutorial Clarification

2008-06-13 Thread Kenneth Gonsalves
On 13-Jun-08, at 7:23 PM, shabda wrote: >> I have never used generic views, so share your confusion > > Well you really should. :) true - I *do* feel guilty about it, but not guilty enough to go find out how to use them > -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.i

Re: Email This Page

2008-06-20 Thread Kenneth Gonsalves
On 20-Jun-08, at 8:36 PM, mike wrote: > Hello, I am working on a django app that displays call logs for our > customers. I am using a print.css along with a print button that only > prints the rendered information. I would like to add an "email this > page" submit button. That will send an ema

Re: Development File Structure

2008-07-01 Thread Kenneth Gonsalves
On 01-Jul-08, at 9:23 PM, [EMAIL PROTECTED] wrote: > I downloaded Python 2.5.2, the most recent release of PostgreSQL, and > Django 0.96. with the latest python and latest postgres why are you using an ancient version of django? Please use the latest version from the svn head. Then worry ab

Re: What part of Django source code should I read first?

2008-07-03 Thread Kenneth Gonsalves
On 03-Jul-08, at 1:52 PM, Rit Lim wrote: > I'm a recent college graduate, and I haven't written any real program. > I'm trying to learn the more advance topics in Python... Its > impossible to get an entry-level Python job. > > What part of Django source code should I read first? none - first w

Re: syncdb

2008-07-05 Thread Kenneth Gonsalves
On 05-Jul-08, at 5:32 PM, Peter Melvyn wrote: >> Thanks a lot!! I am used to rails. Hopefully django will have some >> sort of db migrate ability in the future. > > Django has a separated project > http://code.google.com/p/django-evolution/ for such task it is a third party project -- re

Re: Ajax in Django

2008-07-08 Thread Kenneth Gonsalves
On 08-Jul-08, at 10:20 AM, bharathi wrote: > I am creating one Django application with jquery.. > In that Jquery function am using One Ajax script.. Django code cant > taken that ajax code... this code must be put in the HEAD section of the html - so create a block 'head' in the head section

Re: Setting up Django

2008-07-10 Thread Kenneth Gonsalves
On 10-Jul-08, at 8:58 PM, Greg Lindstrom wrote: > as we get the service up? In particular, do I need to have shell > access in order to create the project and the models, or can I just > ftp the files to the server after I create the database? Now that I > think of it, I really need to run syn

Re: How to display the images in the template page under the django development server

2008-07-11 Thread Kenneth Gonsalves
On 11-Jul-08, at 3:07 PM, Eric Liu wrote: > http://lawgon.livejournal.com http://nrcfosshelpline.in/code/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Root Access

2008-07-12 Thread Kenneth Gonsalves
On 13-Jul-08, at 6:44 AM, [EMAIL PROTECTED] wrote: > I don't think that is true, the only time I needed root was when I was > symlinking django into /usr/lib/python2.5/site-packages/ but since you > can put it anywhere on your python path, you just need to symlink it > somewhere that's on your p

Re: Left Outer Join

2008-07-12 Thread Kenneth Gonsalves
On 13-Jul-08, at 11:07 AM, Chris wrote: > record along with the article in SQL, this would just be a simple left > outer join. How would this be done with Django's ORM? I've reviewed > http://www.djangoproject.com/documentation/model-api/#relationships > but I don't think it covers this case. u

cant get date js thingie using form_for_model

2007-02-21 Thread Kenneth Gonsalves
hi i was using form_for_model and it worked great - only thing, I didnt get the fancy date entry js thingie like in admin. What do I need to do to get that? -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ Yo

Re: Postgre and mysql

2007-02-21 Thread Kenneth Gonsalves
On 21-Feb-07, at 8:06 PM, Grupo Django wrote: > Hello, I want to know which of these two databases are prefered by > django. I can choose and I'd like to know if there is some differences > in performance or integration (like foreign keys). in brief, postgres tries to be standards compliant - s

Re: Postgre and mysql

2007-02-21 Thread Kenneth Gonsalves
On 21-Feb-07, at 11:51 PM, James Bennett wrote: > consumer-level hosting plans, and tends to have more "friendly" > administration features (e.g., web-based control panels for managing a > database). for those who *must* go the gui/web way there is pgadmin and phgpgadmin -- regards kg http:/

Re: my problem from HELL: Pleas help me out on this

2007-02-22 Thread Kenneth Gonsalves
On 22-Feb-07, at 6:08 AM, enquest wrote: > bar = models.ForeignKey(Test) bar = models.ForeignKey('Test') -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received this message because you are subscribed

where is the code for the date widget in admin

2007-02-23 Thread Kenneth Gonsalves
hi, i was looking for the code for the date widget in admin, been searching for two days and cannot find it. Could some kind soul point me to it? -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received

Re: where is the code for the date widget in admin

2007-02-23 Thread Kenneth Gonsalves
On 24-Feb-07, at 12:22 PM, oggie rob wrote: > You need to include django/contrib/admin/media/js/calendar.js & admin/ > DateTimeShortcut.js, and put 'class="vDateField"' or "vTimeField" for > each widget. The html is dynamically generated by javascript when you > load the page (based on class nam

Re: from .95 to six

2007-02-26 Thread Kenneth Gonsalves
On 27-Feb-07, at 5:04 AM, Picio wrote: > I have 0.95 working on my dev laptop. > I'd like to upgrade It to 0.96 removing the old version. > Which are the steps? (if many) delete the directory containing .95 -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-

Re: How update and recover on-line a Django site

2007-03-01 Thread Kenneth Gonsalves
On 02-Mar-07, at 8:04 AM, mamcxyz wrote: > Sometimes I need to update the site and other times the memory goes up > (and how know why?) and need manually enter the site and restart. > > The site not have big number of visit but I need fix this situation ;) play with your apache settings like Ma

Re: Rich text editor

2007-03-02 Thread Kenneth Gonsalves
On 02-Mar-07, at 6:51 PM, Alessandro Ronchi wrote: > Is there some other better editor? try tiny_mce - well documented in django wiki and mailing list -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You recei

Re: Postgre and mysql

2007-03-03 Thread Kenneth Gonsalves
On 03-Mar-07, at 3:35 PM, Geert Vanderkelen wrote: >> in brief, postgres tries to be standards compliant - so if you are >> worried about standards ... > > Note that with MySQL does try too.. maybe after 2000, when i gave up mysql for ever. Until then they were going their own way -- regar

Re: Free comments not displayed

2007-03-03 Thread Kenneth Gonsalves
On 03-Mar-07, at 5:04 PM, Dirk Eschler wrote: > Any ideas what's going wrong? Could that be a permission problem > (although i'm > superuser in the admin)? looks like a typo somewhere -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~

Re: psycopg2 ?

2007-03-03 Thread Kenneth Gonsalves
On 04-Mar-07, at 12:33 PM, Malcolm Tredinnick wrote: >> >> Are there any advantages to using psycopg2 in a Django project? > > One reasonable argument is that it is the maintained version of the > PostgreSQL-python bindings, whereas psycopg (version 1.x) is no longer > maintained. If you need to

how to get all the objects in one model that are not foreign keys in another

2007-03-05 Thread Kenneth Gonsalves
hi, I have two models: Child(models.Model): name = CharField Sponsorship(models.Model): name = CharField child = ForeignKey(Child) ... how do i get a list of all children who are not in Sponsorship? -- regards kg http://lawgon.livejournal.com htt

Re: how to get all the objects in one model that are not foreign keys in another

2007-03-05 Thread Kenneth Gonsalves
On 06-Mar-07, at 8:55 AM, Malcolm Tredinnick wrote: >> >> how do i get a list of all children who are not in Sponsorship? > > I'm pretty sure you can't do this at the moment with only the Django > query functionality. ok - anyway thanks, I thought I was losing my mind and was pretty reluctant

Re: uploding image file

2007-03-05 Thread Kenneth Gonsalves
On 06-Mar-07, at 1:21 PM, samira wrote: > I have Problem with uploading file in Django. First time I want to use > python regular way of uploading file but it is not work by Django. As > I studied Django has "ImageField" and "FillField" but I don't really > know how I can use them, can any body

Re: uploding image file

2007-03-06 Thread Kenneth Gonsalves
On 06-Mar-07, at 1:37 PM, samira wrote: > Thanks, but I read it before, I add > photo = models.ImageField('/images')in my models classes and > newData = request.POST.copy() > new_data.update(request.FILES) in views, Also for display it in > template I add this line to it. > > enctype="multipart

[ANN] We have telugu

2007-03-08 Thread Kenneth Gonsalves
hi, am pleased to announce that django now has telugu. Also i note that the other day, kannada support was also added. These are the 3rd and 4th Indian languages to be added - 4 down 18 to go. Thanks to pavithran for telugu and the sampaada group for kannada. -- regards kg http://lawgon.li

Re: We have telugu

2007-03-09 Thread Kenneth Gonsalves
On 10-Mar-07, at 8:59 AM, theju wrote: > First of all let me congratulate Kenneth and his developers for their > awesome work. Django will start catching on real fast in India now. we are not very confident of the quality of the telugu translation, so please go through it and make the necessa

Re: We have telugu

2007-03-10 Thread Kenneth Gonsalves
On 10-Mar-07, at 8:04 PM, theju wrote: > Would love tobut is it available in the main packageor is > there any way of obtaining it? it is there under ~locale/te/LC_MESSAGES - two files, django.po and djangojs.po -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/

Re: We have telugu

2007-03-10 Thread Kenneth Gonsalves
On 11-Mar-07, at 6:45 AM, Kenneth Gonsalves wrote: >> Would love tobut is it available in the main packageor is >> there any way of obtaining it? > > it is there under ~locale/te/LC_MESSAGES - two files, django.po and > djangojs.po that is in the svn trunk -

Re: Allowing no value for a DateField

2007-03-12 Thread Kenneth Gonsalves
On 12-Mar-07, at 4:44 PM, Roland Hedberg wrote: > done_planned = models.DateField(blank=True) models.DateField(blank=True,null=True) blank=True is at django level and null=True is at database level -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~---

Re: Multi-tenant database

2007-03-12 Thread Kenneth Gonsalves
On 12-Mar-07, at 7:46 PM, Tim Chase wrote: > As previously mentioned by Malcom, Django doesn't currently > support multi-column keys. their *is* unique_together, but will that suit your needs? -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~--

Re: Problem with use of an apostrophe in query

2007-03-13 Thread Kenneth Gonsalves
On 14-Mar-07, at 8:32 AM, dougeven wrote: > The development environment is Ubuntu Dapper, and the production > system runs a recent Mandriva release. are both on the same type of platform - that is, both on apache/ mod_python, or is one on the django runserver and the other not? -- regards

Re: How do I make a TextArea box in a form bigger?

2007-03-13 Thread Kenneth Gonsalves
On 14-Mar-07, at 12:02 PM, Michael Lake wrote: > The textarea is about two lines high only. I want the text entry > box to be much > bigger as it will be holding a full page of text including HTML tags. widgets.TextArea(attrs={'rows':10,'cols':60}) for example -- regards kg http://lawgon.l

Re: Deployment with Subversion

2007-03-14 Thread Kenneth Gonsalves
On 14-Mar-07, at 10:46 PM, [EMAIL PROTECTED] wrote: > how do people deploy Django projects with subversion? We did a simple > checkout at a client's and when we need to do updates, we copy his > settings.py file somewhere outside the directory, do the svn update, > we copy the settings.py neve

Re: start exactly one thread in Django application

2007-03-15 Thread Kenneth Gonsalves
On 15-Mar-07, at 2:03 PM, skink wrote: > Where is the best place to start such thread? use cron -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

Re: How do I make a TextArea box in a form bigger?

2007-03-15 Thread Kenneth Gonsalves
On 16-Mar-07, at 10:31 AM, Michael Lake wrote: > Hi all > >>> On 14-Mar-07, at 12:02 PM, Michael Lake wrote: The textarea is about two lines high only. I want the text entry box to be much bigger as it will be holding a full page of text ... > > Kenneth helped out and suggested this: >

Re: Wiki account

2007-03-16 Thread Kenneth Gonsalves
On 17-Mar-07, at 2:45 AM, Todd O'Bryan wrote: > I just edited a Wiki page and maybe I'm dense, but I couldn't > figure out > how to create an account, so I had to do it anonymously. edit preferences so your email address is recognised and appears - good enough for all purposes -- regards

Re: Wiki account

2007-03-16 Thread Kenneth Gonsalves
On 17-Mar-07, at 7:05 AM, Kenneth Gonsalves wrote: >> figure out >> how to create an account, so I had to do it anonymously. > > edit preferences so your email address is recognised and appears - > good enough for all purposes oops - s/preferences/settings/

Re: IRC

2007-03-20 Thread Kenneth Gonsalves
On 20-Mar-07, at 8:08 AM, Todd O'Bryan wrote: > I'm trying to use XChat to connect to the IRC channel, but I can only > find #django-br and #django-fr on FreeNode. > > What am I stupidly doing? #django is alive and well there -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.

Re: Suggestions for Django Presentation

2007-03-20 Thread Kenneth Gonsalves
On 21-Mar-07, at 8:07 AM, Scott Paul Robertson wrote: > I'm looking for suggestions of more features to emphasize/show-off. So > what does everyone think? What features make Django such a great > framework? one thing that you cannot overemphasise is that django is just python. Many people for

Re: I wish for a "less than" and "greater than" in templates

2007-03-21 Thread Kenneth Gonsalves
On 22-Mar-07, at 9:25 AM, Michael Lake wrote: >> write your own tag - someone has done it, you can see it in this >> file: >> >> http://nrcfosshelpline.in/code/browser/trunk/web/templatetags/ >> base_utils.py >> >> class CompareNode near the end > > But that link above no longer works. works

Re: Can I write standalone Python app that uses Django auth, DB and models?

2007-03-22 Thread Kenneth Gonsalves
On 23-Mar-07, at 6:22 AM, Mike Stoddart wrote: > For example, I have a web app that defines a number of models. People > use the web interface but I also want to write some Python utils that > access the same database and data using the same models as standalone > applications. as i am very fon

Re: Can I write standalone Python app that uses Django auth, DB and models?

2007-03-22 Thread Kenneth Gonsalves
On 23-Mar-07, at 8:44 AM, Matthew Flanagan wrote: >> as i am very fond of saying - django is nothing but python >> > > Yes, but Django auth is really only for web apps and can be easily > bypassed in commandline scripts, for example: > > $ python > Python 2.4.4 (#1, Mar 21 2007, 14:34:56) [C] on

Re: Announcing Django 0.96!

2007-03-23 Thread Kenneth Gonsalves
On 24-Mar-07, at 3:52 AM, David M. Besonen wrote: >> There are also a few backwards-incompatible changes, documented >> in the release notes[1] > > what are the django devs' intentions wrt backwards-compatibility? > > eg. will backwards-compatibility be guaranteed for any 1.xx > release? that i

Re: Does the server have to restarted when you make a change to the code?

2007-03-27 Thread Kenneth Gonsalves
On 28-Mar-07, at 12:35 AM, David Zhou wrote: >> Is that post correct? You have to restart the server whenever you >> make >> a change to the django code? > > I haven't needed to do so for template changes. I dunno about other > parts. you have to do so for changes in code - changes in templa

Re: Does the server have to restarted when you make a change to the code?

2007-03-27 Thread Kenneth Gonsalves
On 28-Mar-07, at 12:43 AM, James Bennett wrote: > There are some workarounds: mod_python, for example, supports a > "PythonAutoReload" directive which, if turned on, will tell mod_python > to check the modification date of files and reload them. However, this > again imposes a performance penalt

Re: Building PythonMagick

2007-03-28 Thread Kenneth Gonsalves
On 29-Mar-07, at 11:40 AM, Pablos wrote: > Looks like Django requires PythonMagick which isn't in the Ubuntu > package manager. Anybody here using Django on Ubuntu? How should I > go about installing PythonMagick? what does it use pythonMagick for? -- regards kg http://lawgon.livejournal.c

Re: special chars "error in Admin"

2007-03-29 Thread Kenneth Gonsalves
On 29-Mar-07, at 12:27 PM, enquest wrote: > Op woensdag 28-03-2007 om 13:18 uur [tijdzone +0200], schreef enquest: >> In Django admin entering the following quote chars � � 'copy >> paste' in a >> textarea field gives this error... "Data truncated for column ..." >> >> How can this be? And wh

Re: Multiple types of users More options

2007-03-30 Thread Kenneth Gonsalves
On 30-Mar-07, at 8:45 PM, johncock wrote: > We need multiple types of users. Different profiles and different > permission. this has been repeatedly discussed. The auth.user model gives the bare essentials. extending this is up to the individual developer. O course, until model inheritance

Re: Which button was clicked?

2007-03-31 Thread Kenneth Gonsalves
On 31-Mar-07, at 2:02 PM, Mark Engelberg wrote: > When there are multiple submit buttons, how do you extract the clicked > one from the request.POST? 'buttonname' - same as standard cgi -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~

Re: Using a numeric POST in Newforms to serve a URL (You'd think that this would be easy. )

2007-04-01 Thread Kenneth Gonsalves
On 01-Apr-07, at 10:12 PM, queezy wrote: > Is there a pretty straightforward way to just POST a numeric and, > based on > that, serve a URL? it is straightforward - what problem are you experienceing? -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-

Re: Simple model inheritance

2007-04-01 Thread Kenneth Gonsalves
On 01-Apr-07, at 10:18 PM, Kyle Fox wrote: >> Django's model inheritance will have an attribute to indicate that >> the >> base class is an abstract base, just as you are asking about. > > Do you mean this feature isn't yet in django? I haven't found > anything on the docs about this (I could

Re: Web Stats

2007-04-01 Thread Kenneth Gonsalves
On 02-Apr-07, at 11:19 AM, [EMAIL PROTECTED] wrote: >> Just wondering what app you're using for gathering Web Statistics >> with Django? > > As usually with any other projects > - awstats or webalizer > - Google Analytics scratchy, if you want python -- regards kg http://lawgon.livejourn

Re: Curious error with Session Variables

2007-04-03 Thread Kenneth Gonsalves
On 03-Apr-07, at 11:06 PM, Ramdas S wrote: > Looks like your browser isn't configured to accept cookies. Please > enable cookies, reload this page, and try again. > > > Later if I persist > > I get this error one person on irc was getting this - he solved it by physically restarting apache

Re: Which ajax framework django will support in the upcoming 1.0, prototype/dojo/jquery?

2007-04-10 Thread Kenneth Gonsalves
On 10-Apr-07, at 11:41 PM, Steve Bergman wrote: > But Django definitely has a preferred ORM and a preferred templating > engine. Why be so set on complete agnosticism when it comes to > javascript? then, to complete your analogy, they would have to write and maintain their own javascript too

Re: Need dedicated hosting for Django

2007-04-17 Thread Kenneth Gonsalves
On 17-Apr-07, at 11:20 PM, Nik Kantar wrote: > I'm mainly interested in companies you've personally had experience > with, though any advice is appreciated. hetzner.de - note i am not employed by them nor do i get a commission from them, but they are reliable - only problem is that some kno

Re: Encoding in models.py (and maybe other files too)

2007-04-18 Thread Kenneth Gonsalves
On 18-Apr-07, at 5:44 PM, John Lenton wrote: >> >> just asking :) > > I don't know about Nicolas, but I'm writing something for a > Spanish-speaking customer, so I might have a TelephoneField > ("teléfono") in there, for example. the way to do it is verbose_name = _("telephone") -- regards k

Re: Spanish tutorial

2007-04-19 Thread Kenneth Gonsalves
On 19-Apr-07, at 3:06 PM, David Asorey Álvarez wrote: > I've written a tutorial in Spanish, maybe it could interest to some of > you. > This document lives at: > http://davidasorey.net/static/django-tutorial/ i'm getting access denied - is it my proxy? or something else? -- regards kg http:/

Re: selecting a framework ,

2007-04-19 Thread Kenneth Gonsalves
On 19-Apr-07, at 6:47 PM, gops wrote: > I want to develop a ERP for very small business ( two - three use + > customer : normally not more than 10 people using the erp ) check out satchmo - it is an erp with django -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/

Re: django comparison

2007-04-19 Thread Kenneth Gonsalves
On 19-Apr-07, at 8:07 PM, Jeremy Dunck wrote: > Databrowse could be considered Access for the web. w00t - coolest thing since the mini idli -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received this me

Re: selecting a framework ,

2007-04-19 Thread Kenneth Gonsalves
On 20-Apr-07, at 8:53 AM, Jeremy Dunck wrote: >> >> check out satchmo - it is an erp with django > > If you mean this satchmo: > http://www.satchmoproject.com/ > then I think we're not agreeing on what ERP is: > http://en.wikipedia.org/wiki/Enterprise_resource_planning > :) i stand corrected

Re: Email Charset

2007-04-19 Thread Kenneth Gonsalves
On 20-Apr-07, at 9:34 AM, [EMAIL PROTECTED] wrote: > For the Python Conference software we came up with out own wrappers > and a monkey patch to the django email sub system. > The code is here: > https://svn.python.org/conference/django/trunk/pycon/core/mail.py just a question - the pycon softw

Re: Databrowse problem

2007-04-26 Thread Kenneth Gonsalves
On 26-Apr-07, at 3:01 PM, Michal wrote: > Is it possible change the code to generate months in URLs as numbers, > instead of 3-letter texts please? there is already a ticket in this regard - please add your comments there -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.i

Re: django

2007-04-28 Thread Kenneth Gonsalves
On 28-Apr-07, at 5:16 PM, k.s.rathore wrote: > everyone. i am new here in django and the purpose of being here is > i want some help and support regarding django framework. we are > launching a large enterprise portal and after going through some > suggestions , decided to work on this frame

Re: Django for complex websites

2007-05-01 Thread Kenneth Gonsalves
On 02-May-07, at 4:17 AM, Eugene Morozov wrote: > I don't want to start Zope vs Django flame. I just want to know what > approaches people use for building large sites on Django. if you want CMS with all types of thingies plugged in - zope/plone is for you. If you want flexibility - especiall

Re: [django] Subject in posts

2007-05-03 Thread Kenneth Gonsalves
On 04-May-07, at 12:16 PM, M Harris wrote: >> This has been proposed multiple times in the past (please search the >> list archive at http://groups.google.com/group/django-users/), and it >> was decided not to add a prefix to the subject line; any good mail >> client, > The reason it gets

Re: How to specify name for ForeignKey field?

2007-05-07 Thread Kenneth Gonsalves
On 08-May-07, at 11:45 AM, Suraj wrote: >I am trying to use a legacy database in Django. The application > has read only access to this database. This database contains > ForeignKey fields which don't fit Django's format of _id. > Is there any way to specify the ForeignKey fields name? if y

Re: Issue with database Postgresql :(

2007-05-08 Thread Kenneth Gonsalves
On 08-May-07, at 10:43 PM, Gerard M wrote: > I dont know if something like this exists in postgresql, or if there > is something else I can do or I should be doing, thanks for your help, > and your time for reading this post. when creating the database, do createdb dbname -E=unicode -- regar

Re: How well should I know Python before using Django?

2007-05-09 Thread Kenneth Gonsalves
On 10-May-07, at 2:37 AM, walterbyrd wrote: > Before attempting to use Django, a person should have a Python > programming skill level of: none - but he would be advised to do the python tutorial side by side with the django tutorial > > 1) beginner > 2) intermediate > 3) expert > > To use Dj

Re: Looking For A Django Developer

2007-05-12 Thread Kenneth Gonsalves
On 12-May-07, at 12:00 PM, [EMAIL PROTECTED] wrote: > United States. I've had troubles in the past with foreign developers, please avoid comments like this - it is sufficient to specify the geographical area -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~-

Re: Python Noob Having Trouble with Django Tutorial 1

2007-05-13 Thread Kenneth Gonsalves
On 13-May-07, at 11:40 PM, kilgore wrote: > at 0x014CE2D0>> i bet you wrote Poll.objects.all instead of Poll.objects.all() -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received this message because yo

Re: django vps hosting

2007-05-15 Thread Kenneth Gonsalves
On 16-May-07, at 6:41 AM, scadink wrote: > WebFaction just makes deployment easy (no admin headaches) while still > giving you all of the meaningful stuff (your own Apache, mod_python, > PostgreSQL and MySQL, etc.). But that's just my opinion. a client of mine has taken a webfaction django acc

Re: Adding myself as a django friendly hoster

2007-05-15 Thread Kenneth Gonsalves
On 16-May-07, at 7:00 AM, Josh Trutwin wrote: > Hi - I would like to add my hosting company as a django-friendly web > host - is there a process to go through or should I just edit this > wiki page: > > http://code.djangoproject.com/wiki/DjangoFriendlyWebHosts edit it -- regards kg http://la

Re: Silly Newforms Best Practices Question

2007-05-26 Thread Kenneth Gonsalves
On 27-May-07, at 9:18 AM, SmileyChris wrote: > That's why, like Russ, I also use a forms.py file and do the newforms > import like: > from django.newforms import * i import django.newforms as nforms - so i can use both new and old -- regards kg http://lawgon.livejournal.com http://nrcfosshel

Re: django models

2007-05-28 Thread Kenneth Gonsalves
On 28-May-07, at 11:24 PM, Lic. José M. Rodriguez Bacallao wrote: > So, if I add a ForeignKey field to my model it simply add a > "related_model_id" column to my table, let me ask something, how > django enforce that when I add a repeated value to that field it > will an error, I mean, a f

Re: include statements for non-dynamic pages

2007-05-28 Thread Kenneth Gonsalves
On 29-May-07, at 5:28 AM, vince wrote: > {% include("design/index_nav.html") %} > Welcome to the home page > {% include("design/footer.html") %} make a base.html page like this: contents of design/index_nav.html {% block maincontent %} {% endblock %} contents of design/footer.html and in your

Re: include statements for non-dynamic pages

2007-05-28 Thread Kenneth Gonsalves
On 29-May-07, at 8:34 AM, Russell Keith-Magee wrote: > Note that for simple cases, you may be able to use a generic view. > These are views that cover simple use cases (just render a template, > render a template for a single database object, render a template for > a list of database objects, e

Re: Migrate data between computers

2007-05-31 Thread Kenneth Gonsalves
On 31-May-07, at 1:39 PM, Michal wrote: > I would like migrate data from my Django project on notebook > (computer1) > to another machine (computer2). To perform this, I follow this steps: to migrate i do this: 1. all code is anyway on svn, so i do a checkout in the new machine 2. i do a pg_d

Re: Problems with nesh thumbnails and whitespaces

2007-05-31 Thread Kenneth Gonsalves
On 31-May-07, at 4:05 PM, Alessandro Ronchi wrote: > I am using ImageWithThumbnailField from nesh utils. if I upload a file > with a white > space it doens't work, and the file name is thumbnail-none.jpg ahh - thanks for that tip, some of my sites people were complaining that they were gettin

Re: Populating a form

2007-09-11 Thread Kenneth Gonsalves
On 11-Sep-07, at 11:45 AM, AniNair wrote: >I am trying to learn python and django. Can someone please tell me > how to populate some fields in a form newforms or oldforms? -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~

Re: Populating a form

2007-09-11 Thread Kenneth Gonsalves
On 12-Sep-07, at 10:41 AM, Ahik wrote: > newforms. you have to create a dictionary of the data you want in the form relating fieldname to the data and bind the form to this - see the bound form docs -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-

Re: Temporary access to link in django

2007-09-12 Thread Kenneth Gonsalves
On 12-Sep-07, at 1:51 PM, Przemek Gawronski wrote: > My main objection here is the pollution of user table. There > (hopefully) > will be quiet a few registrations. Since there is no need to have any > information about the visitor, after it'll be deleted after a month. take 5 minutes out to

Re: error: psycopg requires a datetime module

2007-09-12 Thread Kenneth Gonsalves
On 13-Sep-07, at 4:32 AM, [EMAIL PROTECTED] wrote: > I can't seem to get past this error. I just installed the latest > Python package and it didn't help. I've been trying to use Django and > Python for about a week first with MySQL (more errors/missing modules) > and now with PostgreSQL. I've t

<    4   5   6   7   8   9   10   11   12   13   >