Re: Django as a Standalone Desktop Application

2011-10-21 Thread kenneth gonsalves
ure of a online input of the data > I want to go with Django. simpler to do it in dabo - or just wxPython -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to d

Re: django-admin py extension on fedora

2011-10-21 Thread kenneth gonsalves
iences using packaged versions of django on fedora. -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send

Re: load-on-startup equivalent in django?

2011-10-20 Thread kenneth gonsalves
On Thu, 2011-10-20 at 13:38 +0800, Ken wrote: > I wonder how do I do the same in django framework. Or there is some > other way to run some background code periodicly? look at djcelery -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google

Re: Getting into professional django development

2011-10-19 Thread kenneth gonsalves
sy db migration) > - fabric (application deployment) > - Django trunk (for development, I tend to use trunk as it's inhouse > development) > - Postgres db with psycopg2 python module > - memcached > - workzeug / django-extensions > - django-registration perfect - only

Re: Getting into professional django development

2011-10-19 Thread kenneth gonsalves
trunk than in a > stable release. > > let us agree to disagree on this. -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com.

RE: session expire

2011-10-19 Thread kenneth gonsalves
On Wed, 2011-10-19 at 08:52 +0200, Peio Ziarsolo wrote: > Could some one tell me which tool do you use to debug with django. > Thanks in advance print statements. -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django u

Re: Getting into professional django development

2011-10-19 Thread kenneth gonsalves
1.3 > $ echo "1.2" | sed s/1.2/1.3/ > 1.3 > > I hope I did not misunderstood something this time. I *always* get it wrong ;-) -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django

Re: Getting into professional django development

2011-10-18 Thread kenneth gonsalves
ce, regardless of which version you look at, is to use > trunk - not the latest stable release. > > if you are playing around and learning - production is an entirely separate issue which depends on many factors, a lot of which are beyond the control of the developer. -- regards Kenn

Re: Getting into professional django development

2011-10-18 Thread kenneth gonsalves
; Please read the message you are referring to again. Kenneth corrected > the post [2] (although the `sed`-command should be `s/1.3/1.2/`. »The > latest official version is 1.3.1.« [1], so Kenneth suggested to use > the > current stable release. not right - I meant to say that 1.2 be

Re: Getting into professional django development

2011-10-18 Thread kenneth gonsalves
he has missed is: 'since you are learning'. -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email

Re: Getting into professional django development

2011-10-18 Thread kenneth gonsalves
On Tue, 2011-10-18 at 12:36 +0530, kenneth gonsalves wrote: > On Mon, 2011-10-17 at 23:45 -0700, Kevin wrote: > > Currently I have been focusing on the following: > > > > * Django 1.2 > > 1.3 belongs to the stone age - since you are learning, it would be a > good

Re: Getting into professional django development

2011-10-18 Thread kenneth gonsalves
On Mon, 2011-10-17 at 23:45 -0700, Kevin wrote: > Currently I have been focusing on the following: > > * Django 1.2 1.3 belongs to the stone age - since you are learning, it would be a good idea to work with the current svn trunk, updating every week or so. -- regards Kenneth

Re: Newbee question about PostgreSQL

2011-10-17 Thread kenneth gonsalves
se md5 rather than password, since the latter > doesn't encrypt the password. this depends on a lot of things - in some circumstances one can even use 'trust'. In this case the OP is learning django, not postgres - he can focus on this later when he is learning postgres. > -- regards Ke

Re: Newbee question about PostgreSQL

2011-10-17 Thread kenneth gonsalves
ba.conf and change 'ident' to 'password' on the lines at the end of the file -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this

Re: Second coming of Java?

2011-10-13 Thread kenneth gonsalves
btw, only the dead can come again -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to d

Re: Beginner a bit lost - need some pointers please

2011-10-07 Thread kenneth gonsalves
t page - thanks for the heads-up. -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+uns

Re: How to get the items of Foreign Key

2011-10-07 Thread kenneth gonsalves
> I have 2 items each include 10 pictures, if I write > Photo.objects.all(), then I get all 20 pictures. > How can I get the 10 pictures belong to each item? > I read the Django' documentation about Foreign Key and still have no >

Re: Beginner a bit lost - need some pointers please

2011-10-07 Thread kenneth gonsalves
ddnums you did not follow the instructions here: https://bitbucket.org/lawgon/django-addition/wiki/Home -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@

Re: Beginner a bit lost - need some pointers please

2011-10-05 Thread kenneth gonsalves
s it gets https://bitbucket.org/lawgon/django-addition/overview -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, se

Re: Platform system with Django?

2011-09-26 Thread kenneth gonsalves
th the first part (creating the subdomain > site) you will have to do this in python - but then django is nothing but python anyway. -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, s

Re: Is Satchmo a good framework?

2011-09-22 Thread kenneth gonsalves
- be useful? Do they build some kind of > abstraction layer on top of it? > it is a regular django project - so your django knowledge will come in handy. -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users"

Re: changes to .py file is not reflected until server is restarted.

2011-09-22 Thread kenneth gonsalves
On Wed, 2011-09-21 at 19:37 +0100, Cal Leeming [Simplicity Media Ltd] wrote: > Oh jeez - modpython, I've nfi how to make that work with the same > approach. Maybe check mod_python docs?? apachectl graceful - no other way. -- regards Kenneth Gonsalves -- You received this message becau

Re: Unable to have a template NOT show up

2011-09-01 Thread kenneth gonsalves
On Wed, 2011-08-31 at 12:05 -0700, Yves S. Garret wrote: > Caught ViewDoesNotExist while rendering: Could not import polls.view. > Error was: No module named view should it not be views? -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google

Re: Django Development environment

2011-08-28 Thread kenneth gonsalves
bit > faster. me too - my one experience with github has not been good. -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscrib

Re: Django Development environment

2011-08-26 Thread kenneth gonsalves
On Fri, 2011-08-26 at 15:07 +0100, Simon Connah wrote: > Mercurial or Git (depends on whether the project is open source or > not) Could you elaborate please. -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django u

Re: can django be used in destop application?

2011-08-25 Thread kenneth gonsalves
On Tue, 2011-08-23 at 18:36 +0100, Cal Leeming [Simplicity Media Ltd] wrote: > Curious concept, using Django for a desktop application. > > Can't think of any reason why you couldn't at least try it :) > use wxpython instead of templates. -- regards Kenneth Gonsalves --

Re: How to create a sub-app directly

2011-08-22 Thread kenneth gonsalves
On Mon, 2011-08-22 at 00:57 -0700, i...@webbricks.co.uk wrote: > which is fine, but you've missed the only step that actually makes the > folder a python module. > > do this or it'll never import > touch __init__.py got distracted and pressed send too soon. -- regards Ke

Re: How to create a sub-app directly

2011-08-22 Thread kenneth gonsalves
ant to hold all applications for mysite. Now, here comes the > question: How do I create a sub-app under apps with manage.py > directly? one way to do this: cd apps mkdir subapp cd subapp touch models.py touch views.py touch tests.py -- regards Kenneth Gonsalves -- You received this message becau

Re: Port of Django Template Language to PHP

2011-08-22 Thread kenneth gonsalves
an extension to your existing PHP templates. > > I think you misunderstood me - I meant that continually reinventing the wheel is a good thing, and leads to better and better wheels of all sizes and shapes. -- regards Kenneth Gonsalves -- You received this message because you are subscr

Re: Django beginner question

2011-08-20 Thread kenneth gonsalves
way in which I hope you and everyone else would consider > "industrious" and possibly feel the ability to help rather than to > lecture. also read something about normal forms, as your question is not so much django related as rdbms related. Hint: look at foreign keys. -- regards Kenneth

Re: Port of Django Template Language to PHP

2011-08-20 Thread kenneth gonsalves
reinventing the wheel we would be still in the age of oxcarts. -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from

Re: Missing datepicker in Django 1.3 admin

2011-08-20 Thread kenneth gonsalves
On Sat, 2011-08-20 at 20:49 +0300, Yaşar Arabacı wrote: > Did you copy admin static files to your static path? They are stored > in {DJANGO_ROOT_DIR}/contrib/admin/media . You need to copy all of > them to {YOUR_STATIC_ROOT}/admin > > or do collectstatic -- regards Kenneth Gon

Re: Missing datepicker in Django 1.3 admin

2011-08-20 Thread kenneth gonsalves
On Sat, 2011-08-20 at 10:40 -0700, George wrote: > Yep, that's what I did .. ADMIN_MEDIA_PREFIX = '/static/admin/' ... > was there by default. It does't show even with a new Project! ADMIN_MEDIA_PREFIX is not there in 1.3 -- regards Kenneth Gonsalves -- You received this message becau

Re: Missing datepicker in Django 1.3 admin

2011-08-20 Thread kenneth gonsalves
On Sat, 2011-08-20 at 03:40 -0700, George wrote: > I commented that out .. I'm still not seeing the datepicker icons in > admin! did you do python manage.py collectstatic? -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "D

Re: Regarding postgresql

2011-08-20 Thread kenneth gonsalves
istro are you running? -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubsc

Re: Regarding postgresql

2011-08-20 Thread kenneth gonsalves
manage.py syncdb" then the following error will occur : > no module named psycopg the backend should be postgresql_psycopg2 and you should install python-psycopg2. -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Missing datepicker in Django 1.3 admin

2011-08-20 Thread kenneth gonsalves
On Sat, 2011-08-20 at 01:53 -0700, George wrote: > ADMIN_MEDIA_PREFIX = '/static/admin/' this does not exist in 1.3 - please read the docs on django.contrib.staticfiles -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Djan

Re: Installation Problem cant extract tar.gz file

2011-08-11 Thread kenneth gonsalves
On Thu, 2011-08-11 at 02:02 -0700, damola oyeniyi wrote: > Any particular reason why not? generally distros cannot cannot keep up with the pace of django' development. And more important, the preferred modes of deployment like virtualenv or zc.buildout need the 'original' django. -- You

Re: Installation Problem cant extract tar.gz file

2011-08-11 Thread kenneth gonsalves
On Thu, 2011-08-11 at 01:51 -0700, damola oyeniyi wrote: > I also recently started using djangoon ubuntu and ran into no > problems. > > Try and get django from the repositories: do not do this - install from source, that is, download the tar.gz file from djangoproject.com. -- You received

Re: Django for a front end designer

2011-08-04 Thread kenneth gonsalves
On Thu, 2011-08-04 at 11:45 +0100, Cal Leeming wrote: > On Wed, Aug 3, 2011 at 9:15 AM, Andre Lopes > wrote: > If you want to start with a PHP Framework, consider > CodeIgniter. It is > the easier Framework for a starter. > > > I personally came

Re: Run an application periodically on django

2011-08-04 Thread kenneth gonsalves
On Thu, 2011-08-04 at 13:43 +0300, Praveen Krishna R wrote: > On djcelery, I think you need to configure RabbitMQ or something to > work with!? correct me Kenneth, if I'm wrong. yes -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: Problim With Class Name and Methods

2011-08-04 Thread kenneth gonsalves
On Thu, 2011-08-04 at 00:16 -0700, Showket Bhat wrote: > I Am new to Django.. I have created few class in my models.py file.. > However i have writen clas names in small alphabits.. now when i call > the classname.objects.all() method it gives me an error. and if i > have created a class with its

Re: Run an application periodically on django

2011-08-04 Thread kenneth gonsalves
On Thu, 2011-08-04 at 08:12 +0300, Mohamed Ghoneim wrote: > My problem is how can I schedule this this app to run every 30 > seconds? and can I do this on a hosting website? djcelery or cron should do the trick -- You received this message because you are subscribed to the Google Groups

Re: tar xzvf Django-1.3.tar.gz

2011-07-30 Thread kenneth gonsalves
On Sat, 2011-07-30 at 06:44 -0700, patt numero1 wrote: > in your terminal>tar xzvf Django-1.3.tar.gz (to unzip your tar) > in your terminal>cd Django-1.3 (to move in the new directory created > by the tar) > in your terminal>sudo python setup.py install (to install django) > > hope this

Re: Django Memory hosting issues?

2011-07-30 Thread kenneth gonsalves
On Fri, 2011-07-29 at 18:29 -0700, raj wrote: > Just need some advice. I currently have a webfaction account, and It > gives me 80mb of space. But I didn't know that each django application > takes up approximately 40mb (ran over the limit without realizing it), > so I can make only a max of 2

Re: USE_I18N vs. USE_L10N

2011-07-29 Thread kenneth gonsalves
On Fri, 2011-07-29 at 18:21 +1000, Mike Dewhirst wrote: > https://docs.djangoproject.com/en/dev/topics/i18n/internationalization/ > - Internationalization > > https://docs.djangoproject.com/en/dev/topics/i18n/localization/ - > Localization > >

Re: USE_I18N vs. USE_L10N

2011-07-29 Thread kenneth gonsalves
On Fri, 2011-07-29 at 09:38 +0200, Masklinn wrote: > > wrong > That's not what the Django documentation says, at least in my reading > of it. i18n - preparing an app to be customised in *any* locale l10n - actually customising it for a *particular locale One can do i18n *without* doing *any*

Re: USE_I18N vs. USE_L10N

2011-07-28 Thread kenneth gonsalves
On Fri, 2011-07-29 at 12:58 +0800, Russell Keith-Magee wrote: > >> USE_I18N: translation > >> USE_L10N: localized formatting > >> > >> Right? > > > > wrong > > Ok - seriously, Kenneth - if you're not going to take the time to > provide a full answer (with sentences, capitalization and all the >

Re: USE_I18N vs. USE_L10N

2011-07-28 Thread kenneth gonsalves
On Thu, 2011-07-28 at 09:37 -0700, Lucy Brennan wrote: > Before I comment, I would like to actually know if I got it right. In > Django: > > USE_I18N: translation > USE_L10N: localized formatting > > Right? wrong -- You received this message because you are subscribed to the Google Groups

Re: hi guys help with this error, : Error: No module named staticfiles

2011-07-28 Thread kenneth gonsalves
On Thu, 2011-07-28 at 14:13 +0200, Coulson Thabo Kgathi wrote: > how can i updadte django i tried and if failed, pliz help how did you install django? what distro? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: SyntaxError at /view.py

2011-07-28 Thread kenneth gonsalves
On Thu, 2011-07-28 at 04:27 -0700, morning yao wrote: > DailyReport.objects.filter(DailyReport_Timestamp__month=int(month.split('-') > [0]),DailyReport_Timestamp__month=int(month.split('-')[1])).order_by("- > DailyReport_Timestamp") it is here - keyword repeated. -- You received this message

Re: Geographic Data on Django

2011-07-27 Thread kenneth gonsalves
On Wed, 2011-07-27 at 08:18 +1200, Gmail - neonmark wrote: > Check out this site - with source - uses postgis and does something > similar, perhaps, to what you want. > https://github.com/openplans/fixcity geodjango comes with django. -- You received this message because you are subscribed to

Re: USE_I18N vs. USE_L10N

2011-07-27 Thread kenneth gonsalves
On Tue, 2011-07-26 at 15:09 +0100, Tom Evans wrote: > I strongly disagree, i18n and l10n have explicit and well known > technical meanings, dating from the late 80s. It is right and proper > to use those names in django, as they are used in every other project > under the sun. +1 -- You

Re: Web development newbie

2011-07-25 Thread kenneth gonsalves
On Sun, 2011-07-24 at 04:25 -0700, Dmitry Pisklov wrote: > PS I am a Java developer, and more then year ago started looking into > python, wrote few small components for work and now trying to leverage > django for my web-project. I doubt I could do something so fast if I > haven't known python at

Re: custom method in models.py

2011-07-15 Thread Kenneth Gonsalves
On Fri, 2011-07-15 at 11:14 -0700, Suprnaturall wrote: > class Category(models.Model): > name = models.CharField(max_length=250) > > def get_short_name(): > return name[0,20] def get_short_name(self) -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox

Re: Class-Based Generic Views (CreateView) - field exclusions and defaults

2011-07-15 Thread Kenneth Gonsalves
On Fri, 2011-07-15 at 02:18 -0700, Paul Walsh wrote: > I am pretty new to Django - new enough to be developing my first > Django app > on 1.3. So, I am basing all my work on class-based generic views, and > have > never used the older generic view functions. caveat - I have never used generic

Re: Problem with user.username

2011-07-12 Thread Kenneth Gonsalves
On Mon, 2011-07-11 at 23:31 -0700, Suprnaturall wrote: > The problem is : when i m in login.html i see my user.username, but > when i submit the login form and being redirect to index i don t > retrieve the user.username. do you have this in your settings.py: TEMPLATE_CONTEXT_PROCESSORS = (

Re: Using the mailing list

2011-07-12 Thread Kenneth Gonsalves
On Tue, 2011-07-12 at 08:42 +0100, Cal Leeming [Simplicity Media Ltd] wrote: > Oh, that's a good idea. I can probably do a write up about CodeIgniter > and > PHP. Also, perhaps this deserves a wiki page of its own..? let's see how it goes - if it gets big enough we can separate it. -- regards

Using the mailing list

2011-07-11 Thread Kenneth Gonsalves
hi, I think this deserves a thread of it's own. I have started a section on migrating from other frameworks - since I came from Zope, I have added a few points there. People from other frameworks/tools please pitch in.

Re: Django job, King of Prussia, PA, USA

2011-07-11 Thread Kenneth Gonsalves
On Tue, 2011-07-12 at 07:00 +0530, Venkatraman S wrote: > On Tue, Jul 12, 2011 at 12:38 AM, Shawn Milochik > wrote: > > > http://bit.ly/pAJc4N (Dice.com link) > > > > We're hiring! If you're local check it out, e-mail me with > questions. > > > > Do you consider

Re: Django Auth

2011-07-11 Thread Kenneth Gonsalves
On Mon, 2011-07-11 at 12:45 -0700, Gizmo wrote: > please am new to django, and am looking for something more > appropriate for django auth what features do you want? -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ -- You received this message

Re: (UsingTheMailingList) Pre-requisites for newcomers on Django

2011-07-11 Thread Kenneth Gonsalves
On Mon, 2011-07-11 at 12:18 +0100, Cal Leeming [Simplicity Media Ltd] wrote: > > what do you mean by 'accurate'? > > > > As in, did the tutorial contain any errors / false / inaccurate > information? > I would check it myself, but haven't got any spare time at the > moment :/ It > looks very

Re: trying to use the User model

2011-07-11 Thread Kenneth Gonsalves
On Mon, 2011-07-11 at 02:15 -0700, NISA BALAKRISHNAN wrote: > when i run the server this is the error message i get . > Could not import person.views. Error was: cannot import name User at the top of your file do: from django.contrib.auth.models import User -- regards KG

Re: (UsingTheMailingList) Pre-requisites for newcomers on Django

2011-07-11 Thread Kenneth Gonsalves
On Mon, 2011-07-11 at 12:05 +0100, Cal Leeming [Simplicity Media Ltd] wrote: > Actually, that does look quite nice. Although I can't comment on how > accurate the information is without using it myself. > > KG, is the site fairly accurate?? what do you mean by 'accurate'? -- regards KG

Re: my frist django project Error

2011-07-11 Thread Kenneth Gonsalves
On Mon, 2011-07-11 at 10:40 +0100, Cal Leeming [Simplicity Media Ltd] wrote: > > > > looks like we need to add a section on how to answer questions also. > > +1 on this. started: https://code.djangoproject.com/wiki/UsingTheMailingList#Howtoanswerquestionsonthelist -- regards KG

Re: (UsingTheMailingList) Pre-requisites for newcomers on Django

2011-07-11 Thread Kenneth Gonsalves
On Mon, 2011-07-11 at 10:44 +0100, Cal Leeming [Simplicity Media Ltd] wrote: > > http://learnpythonthehardway.org/ > > Havent come across this before.. perhaps you could send a review to > the list > of your experiences with it? the person who wrote it was quite often on #django > > If anyone

Re: my frist django project Error

2011-07-10 Thread Kenneth Gonsalves
On Sun, 2011-07-10 at 20:13 +0100, Cal Leeming [Simplicity Media Ltd] wrote: > > Telling someone they need to learn more python isn't helpful - tell > them > > that theres a setting missing and how the traceback makes that > clear. > > > > That's a fair point tbh. > > I'll make sure to use a

Re: (UsingTheMailingList) Pre-requisites for newcomers on Django

2011-07-10 Thread Kenneth Gonsalves
On Sun, 2011-07-10 at 14:39 +0100, Cal Leeming [Simplicity Media Ltd] wrote: > We don't seem to have a policy of dealing with mailing list posts in > which > the user clearly has no Python experience. > > Therefore, I'd like to hear some thoughts on making an amendment to >

Re: throttling login attempts to avoid brute force attacks

2011-07-09 Thread Kenneth Gonsalves
On Fri, 2011-07-08 at 12:03 -0400, Shawn Milochik wrote: > I'm using IP instead of user because this prevents an attacker > from > inconveniencing a legit user or getting a "fresh start" just by > guessing > a different username. > > and what happens when you have a 100 users from the

[ANN] cfp for PyCon India closing soon

2011-07-08 Thread Kenneth Gonsalves
hi, for those of you who would like to visit India: http://in.pycon.org/2011/ -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: How to use the django-users mailing list properly and doing your homework..

2011-07-07 Thread Kenneth Gonsalves
On Thu, 2011-07-07 at 10:46 -0400, Shawn Milochik wrote: > > mentioned. With a threaded mail client, I use Mutt, they're much > > easier to keep up with than anything web based. > > > > +1 > > I prefer this mailing list to anything else. It's far superior to IRC > and a forum site (such as

Re: How to use the django-users mailing list properly and doing your homework..

2011-07-06 Thread Kenneth Gonsalves
On Thu, 2011-07-07 at 00:10 +0100, Cal Leeming [Simplicity Media Ltd] wrote: > I'm going to ask a really stupid question... > > What's "SO"? I was just going to ask that. -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ -- You received this message

Re: How to use the django-users mailing list properly and doing your homework..

2011-07-06 Thread Kenneth Gonsalves
On Wed, 2011-07-06 at 19:55 -0300, Andre Terra wrote: > IRC is too outdated actually it is highly effective - cannot count the number of deadlines I would have missed but for IRC. -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ -- You received this

Re: django/python performance vs play/java

2011-07-05 Thread Kenneth Gonsalves
On Tue, 2011-07-05 at 13:57 -0700, bruno desthuilliers wrote: > To make a long story short: if you're looking for raw execution speed, > forget about Java and go for C - and let us know when you'll have a > working prototype. or like the facebook guys write C in php. -- regards KG

Re: i save text with html in djanfo admin and when out its ilegible

2011-07-04 Thread Kenneth Gonsalves
On Mon, 2011-07-04 at 05:06 -0700, Kase wrote: > example > {% autoescape on %} > {{grup.grupo}} > {% endautoescape %} {% autoescape off %} {{grup.grupo}} {% endautoescape %} -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox

Re: i save text with html in djanfo admin and when out its ilegible

2011-07-04 Thread Kenneth Gonsalves
On Mon, 2011-07-04 at 04:02 -0700, Kase wrote: > and i dont know who to fix it... search in the docs for autoescape. -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ -- You received this message because you are subscribed to the Google Groups "Django

Re: AW: AW: unique_together doesn't work

2011-07-04 Thread Kenneth Gonsalves
On Mon, 2011-07-04 at 11:51 +0200, Szabo, Patrick (LNG-VIE) wrote: > Yes i am. > It seems that in the fieldset there can not be a field that is allowed > to be null. > If i remove that field it works. > > Is there a workaround for that ?! my observation (subject to correction) is that if

Re: AW: unique_together doesn't work

2011-07-04 Thread Kenneth Gonsalves
On Mon, 2011-07-04 at 11:43 +0200, Szabo, Patrick (LNG-VIE) wrote: > Sry, i was a little bit unclear. > Of course i tried to store identical entries (all fields have the same > values) and i had no problem doing so. Since most of the files i want > to check for can be null i only inputet a

Re: unique_together doesn't work

2011-07-04 Thread Kenneth Gonsalves
On Mon, 2011-07-04 at 11:33 +0200, Szabo, Patrick (LNG-VIE) wrote: > but somehow the unique_together doesn't seem to work. what does 'doesn't seem to work' mean? -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ -- You received this message because you

Re: Open source Django websites

2011-07-02 Thread Kenneth Gonsalves
On Thu, 2011-06-30 at 22:57 +0200, Gerhard Hoogterp wrote: > Did you actually manage to get any of those sites to work? (and if > yes,which > one?) I have only tried mine. Try this one: https://bitbucket.org/lawgon/ipss/overview a small site, but up and running. -- regards KG

Re: Problem with Tutorial 1 - Django Version = 1.3

2011-06-30 Thread Kenneth Gonsalves
On Thu, 2011-06-30 at 06:57 -0700, Eiram wrote: > Poll(objetcs.all) Poll.objects.all() -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: unable to import Modules Present in subdirectores

2011-06-29 Thread Kenneth Gonsalves
On Wed, 2011-06-29 at 03:51 -0400, srinivasan panneer wrote: > For example I have Views.py is it Views.py or views.py? -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ -- You received this message because you are subscribed to the Google Groups

Re: Social Networking basics? -Raj

2011-06-28 Thread Kenneth Gonsalves
On Mon, 2011-06-27 at 12:48 +0100, Cal Leeming [Simplicity Media Ltd] wrote: > I've made a few modifications, feel free to revert/modify to your > hearts > content. am travelling - will add my stuff when I reach home - but thanks, keep it coming. -- regards KG http://lawgon.livejournal.com

Re: Social Networking basics? -Raj

2011-06-26 Thread Kenneth Gonsalves
On Sun, 2011-06-26 at 14:43 -0400, ApogeeGMail wrote: > I am also a newbie on this list. I have been reading the list for > about two months. I have learned a LOT following the questions and > answers. I would like to suggest that some of the links like > duckduck.go be added to the standard doc's

Re: Split up .po files for Internationalization

2011-06-24 Thread Kenneth Gonsalves
On Fri, 2011-06-24 at 05:43 -0700, Thomas M wrote: > It was explained somewhere in this tutorial: > https://docs.djangoproject.com/en/1.3/topics/i18n/localization/ > so I can just create my own locale files in projectpath/locale/LANG/ > LC_MASSAGES/? yes - that is what the docs say > > like: >

Re: Split up .po files for Internationalization

2011-06-24 Thread Kenneth Gonsalves
On Fri, 2011-06-24 at 04:54 -0700, Thomas M wrote: > I want to use the django internationalization module to translate > stuff. The problem is the large .po file with all the django related > stuff the translator shouldnt see. > Is there a way to split up those .po files so we've got a file with >

Re: Social Networking basics? -Raj

2011-06-24 Thread Kenneth Gonsalves
On Fri, 2011-06-24 at 13:40 +0200, Herman Schistad wrote: > So maybe make a google guide with smart keywords to add, like: actually duckduck.go is far smarter than google for opensource. -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ -- You received

Re: Social Networking basics? -Raj

2011-06-24 Thread Kenneth Gonsalves
On Fri, 2011-06-24 at 03:53 -0700, Derek wrote: > > Someone from Python Argentina (PyAR) translated it to Spanish and it > > is what we use to guide newcomers. > > > > [0]http://www.mikeash.com/getting_answers.html > > +1 for the Mike Ash guide - it seems to cover all the keypoints. > So... if

Re: Social Networking basics? -Raj

2011-06-23 Thread Kenneth Gonsalves
On Fri, 2011-06-24 at 08:14 +0800, Russell Keith-Magee wrote: > s a side note, if someone were to redraft that document in such a way > that it *doesn't* have that tone, I'd gladly include the text in > Django's own documentation. last time you posted on this topic you had given a link to

Re: Want to give a talk at Djangocon, the time to submit is now

2011-06-22 Thread Kenneth Gonsalves
On Thu, 2011-06-23 at 07:13 +0800, Russell Keith-Magee wrote: > In the interim, the best option is your local Python conference; > PyCon.AU, PyCon.NZ or PyCon.APAC. and as already mentionedS http://in.pycon.org/2011/ -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox

Re: Upcoming Django conference in Asia Pacific

2011-06-22 Thread Kenneth Gonsalves
On Wed, 2011-06-22 at 14:08 +0800, Russell Keith-Magee wrote: > > Do we have any upcoming Django conference in Asia Pacific region or > any > > Django conference at all here? > > There is usually a Django presence (i.e., a core developer or two, a > few talks, and many Django users) at PyCon.AU,

Re: syncdb doesn't create UserProfile table

2011-06-21 Thread Kenneth Gonsalves
On Tue, 2011-06-21 at 12:49 +0100, Tom Evans wrote: > >> It will still work perfectly with ForeignKey(unique=True), > > > > the docs say one2one > > > > That doesn't negate my statement. > > You said that User.get_profile() will only work with OneToOneField, > which is incorrect, it will also

Re: Select objects linked over many-to-many relation (not ManyToManyField)

2011-06-21 Thread Kenneth Gonsalves
On Mon, 2011-06-20 at 22:57 -0700, muzhig wrote: > I have models: User and Photo > User can "like" photos. So I have another model, Like, that has > foreign keys > to User and Photo. > > I cannt figure out howto filter all Users that liked one photo it would be easier if you paste the models.

Re: Social Networking basics? -Raj

2011-06-20 Thread Kenneth Gonsalves
On Mon, 2011-06-20 at 14:19 -0700, raj wrote: > I'm not quite sure what you mean. Where would I learn about these > concepts. Thank you. http://duckduckgo.com/?q=django+get_profile%28%29 -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ -- You

Re: problems using django-registration

2011-06-20 Thread Kenneth Gonsalves
On Mon, 2011-06-20 at 16:15 -0500, Kevin Miller wrote: > Can anyone please tell me how to integrate session management with > django-registration. Google did not help me that much. do you have this line in settings.py: TEMPLATE_CONTEXT_PROCESSORS = ( 'django.core.context_processors.request',

Re: Open source Django websites

2011-06-20 Thread Kenneth Gonsalves
On Mon, 2011-06-20 at 00:11 -0700, benregn wrote: > I was wondering if there are any complete websites using Django that > are open source, i.e. it's possible to browse all its files, structure > and code. http://www.djangosites.org/with-source/ -- regards KG http://lawgon.livejournal.com

Re: Social Networking basics? -Raj

2011-06-20 Thread Kenneth Gonsalves
On Mon, 2011-06-20 at 00:06 -0700, raj wrote: > Just wondering something. I have an idea to build a social networking- > type website. I'm just trying to picture how the mysql backend would > look. For example, if an individual were to have "friends", would i > need to edit the user class in

Re: Alternate user fields

2011-06-20 Thread Kenneth Gonsalves
On Mon, 2011-06-20 at 00:03 -0700, raj wrote: > Ya i got that working. Just another quick question, the django auth > system took care of all the login/logout pages. Now that i have a > changed user class up and running, will django automatically adapt to > the new class? Like, in the html, if it

Re: Alternate user fields

2011-06-20 Thread Kenneth Gonsalves
On Sun, 2011-06-19 at 23:39 -0700, raj wrote: > Its asking me to locate this admin.py file inside my application. I > can't find this file. Should I just make one inside an application yes -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ -- You

Re: Problem with CheckboxSelectMultiple and ManyToManyField with Modelform

2011-06-18 Thread Kenneth Gonsalves
On Sat, 2011-06-18 at 19:59 +1200, Abhishek Tiwari wrote: > CheckboxSelectMultiple , otherwise I think documentation is quite good > but > some time there lot of bits are missing- no disrespect at all. > Coming back to m2m and choice mixing I get your point but in that case > where > will the

<    1   2   3   4   5   6   7   8   9   10   >