Re: How to hire a freelance Django developer

2011-03-30 Thread Lakshman Prasad
> Is there a good *free* resource to browse freelance Django developers github.com is out there: https://github.com/search?q=django On Wed, Mar 30, 2011 at 5:34 AM, Micah Carrick wrote: > Hey folks, > > Let me start by saying: Please don't email me your resume--this is

Multiple Admins, improper object linking

2011-01-25 Thread Lakshman Prasad
Hi, I have a lot of admin customization. Queryset overriding, custom urls per object, per admin site, save methods overriding and calling some external services, template changes, you name it. So, In my application, I like to have another instance of admin I call "bare-tables" in which I auto

Django facebook group

2010-10-07 Thread Lakshman Prasad
Hi, I just created a django facebook group: http://www.facebook.com/home.php?sk=group_114422875284562 Those interested may join. PS: I know it doesn't matter to some people. If it doesn't matter, it shouldn't matter even to complain, I think :) -- You received this message because you are

Re: manually add objects to a QuerySet

2010-08-08 Thread Lakshman Prasad
You can't really add an object to queryset like that. If you don't want to generate a list in the view, you can chain the querysets chained_qs = chain(qs1,qs2) On Sun, Aug 8, 2010 at 9:45 AM, chefsmart wrote: > I had asked this on stackoverflow, but I guess I couldn't

Re: Email Backend setting needed, a potential bug

2010-05-26 Thread Lakshman Prasad
nd install again. But it is interesting how it happened, which could be a bug in pip.) On Wed, May 26, 2010 at 12:34 PM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > On Wed, May 26, 2010 at 2:54 AM, Lakshman Prasad <scorpion...@gmail.com> > wrote: > > Hi, > >

Email Backend setting needed, a potential bug

2010-05-25 Thread Lakshman Prasad
Hi, Since I upgraded to 1.1.2, I am unable to send mails as django seems expecting a EMAIL_BACKEND. I tried to simply downgrade back to 1.1.1 not having to bother, but the error continues. I seems like a bug, but I don't know how it can be one, because, I cant see how sending email can go

Re: problem with apache and wsgi

2010-04-23 Thread Lakshman Prasad
Did you try: Alias /smedia /home/user/media On Fri, Apr 23, 2010 at 2:15 PM, Kenneth Gonsalves wrote: > hi, > > using django trunk on svn and the latest ubuntu with python 2.6. The setup > is > this: > > MEDIA_ROOT = /home/user/media/ > MEDIA_URL = http://mysite/smedia/ >

Re: Looking for a wiki or cms created with django

2010-02-24 Thread Lakshman Prasad
You can try django-wakawaka: http://github.com/bartTC/django-wakawaka by bartTC, that is used in Pinax. On Wed, Feb 24, 2010 at 1:42 PM, Adrian Maier wrote: > Hello, > > Thanks for trying to help, but I am aware of the django-cms project. I > have > already tried to use

Re: question about django-pagination

2009-12-18 Thread Lakshman Prasad
> would I still be able to paginate over the entire list of 1 objects? Or my list would be shortened to 5 objects? Its the latter. Your query set will loop only for the size of it's length. On Sat, Dec 19, 2009 at 12:03 PM, Continuation wrote: > In the

Re: Help with apache mod rewrite engine

2009-12-08 Thread Lakshman Prasad
You can just replace the regex ^/comments/$ with ^/sees/comments/$ within the urls.py Why can't you do that? On Wed, Dec 9, 2009 at 12:10 PM, Amit Sethi wrote: > Hi all , I need some help understanding the mod rewrite module of apache . > What I wished to do want that

Re: Creating a Django project alike stackoverflow.com

2009-12-01 Thread Lakshman Prasad
> 1) Is it possible to realize my idea with Django, managing the traffic load for 2.000+ user? The precise question you asked is answered by the Django BDFL, right there on Stackoverflow: http://stackoverflow.com/questions/886221/does-django-scale/1739974#1739974 In summary, "Yes, it is possible

Re: Will PasswordField be in Django?

2009-11-10 Thread Lakshman Prasad
django comes with an inbuilt form that does the hashing and saving of password. from django.contrib.auth.forms import UserCreationForm Simliarly an inbuilt form that does the login, logout and such. Look at the source in the path above, and/or refer to the documentation of django auth:

Re: Django 1.1.1 - Can't get form validation working

2009-11-02 Thread Lakshman Prasad
To add to all the helpful messages above, for forms with standard fields, django comes loaded with inbuilt forms. A quick scan of the source shows (django.contrib.auth.forms) following inbuilt forms: AdminPasswordChangeForm AuthenticationForm PasswordChangeForm PasswordResetForm SetPasswordForm

Re: Replicating Google Groups in Django

2009-10-23 Thread Lakshman Prasad
You should use the lamson project, by Zed Shaw: http://lamsonproject.org/ On Fri, Oct 23, 2009 at 6:36 PM, Julien Phalip wrote: > > Hi, > > On one site I'm considering the possibility of replicating the (basic) > functionality of Google Groups in Django. The idea is: > > -

Re: Just upgraded to 1.1, can't start development server, TypeError

2009-10-14 Thread Lakshman Prasad
Seems like, some of the apps that you have in settings.py INSTALLED_APPS are there in the pythonpath for python2.5 and not for python2.6. You will need to do a easy_install-2.6 (or a corresponding pip/distribute equivalent) package_name On Wed, Oct 14, 2009 at 11:48 AM, eculver

Session data passing after login

2009-10-12 Thread Lakshman Prasad
Hi, On a user login, the session key changes. This makes the data stored in the session before user logging in, inaccessible. But the session data before user login is required in so many cases, say for instance, a shopping cart. How to pass the session data of the anonymous user to the logged

Re: Django documentation site is SLOW

2009-08-08 Thread Lakshman Prasad
Indeed for most of the people in this group Django documentation is very often consulted resource. It makes a lot of sense to have those locally. If you have a svn co, documentation is within the checkout, so you need to browse to file:///home/name/django-trunk/docs/_build/html/index.html and you

Re: Django file upload. 'None'

2009-08-04 Thread Lakshman Prasad
You need to set the form with the request file, which I think you may have missed: from appname.forms import ImageForm form = ImageForm(request.POST,request.FILES) >From the documentation: http://docs.djangoproject.com/en/dev/topics/http/file-uploads/#basic-file-uploads On Tue, Aug 4, 2009 at

Re: Stuck re:Practical Django Projects 2nd E...

2009-07-18 Thread Lakshman Prasad
If you get a page not found, verify the slug (the entire url pattern for that pattern), either from the console or admin, that it exists. On Sat, Jul 18, 2009 at 4:30 PM, Rob B (uk) wrote: > > Bit stumped on chapter 4. > > Every thing is working except I'm getting a

Re: Saving Data To Your DB. Simple?

2009-07-14 Thread Lakshman Prasad
> It runs OK (no errors) but doesn't save a single thing It has to run without errors because you have enclosed the whole thing in try. You have to coerce the record_id and user_id into int before assigning to the model fields, for it to save. On Tue, Jul 14, 2009 at 9:45 PM, The Danny

Re: Deployment dilemma

2009-07-14 Thread Lakshman Prasad
zc.buildout enables reproducible build and deployments. pip offers a simple solution by the way of freeze and requirements file at server. On Tue, Jul 14, 2009 at 9:33 PM, Alex Gaynor wrote: > > > On Tue, Jul 14, 2009 at 10:46 AM,

Re: Style sheet not working after shifting from desktop to laptop

2009-07-14 Thread Lakshman Prasad
Either you have a wrong directory pointed to, in your settings.py file for static media; or you haven't configured django to serve them. You need to define MEDIA_ROOT and MEDIA_URL in the settings.py appropriately. Once you have done that, you can setup django to serve those during development,

Re: Complex form for a newbie with ImageField and ForeignField

2009-07-14 Thread Lakshman Prasad
You could replace in the view: if form_upload.is_valid(): form_upload.save() # with this: if form_upload.is_valid(): form_upload.user = request.user form_upload.save() You may also want to not display the user field in the form. You can do it by defining an 'exclude' Meta class

Re: Best distro for django

2009-07-04 Thread Lakshman Prasad
ng is ok, > but in some interative environment, say, the environment brought by > "pdb.set_trace()", this problem happens. > > > On Sat, Jul 04, 2009 at 11:43:45AM +0530, Lakshman Prasad wrote: >>>Thats strange; Can you elaborate the problem a little; >>>

Re: Best distro for django

2009-07-04 Thread Lakshman Prasad
Thats strange; Can you elaborate the problem a little; I have been using Ubuntu9.04 and I couldn't be happier. I don't know how any other environment can be even more conducive to development. 2009/7/4 wei ribao > > I am using ubuntu9.04 too. I have a long-standing trouble. >

django development addons

2009-06-19 Thread Lakshman Prasad
Hi, I have come across various development add ons, particularly, django-extensions django-annoying

Re: django-admin loaddata and dumpdata problem.

2009-05-29 Thread Lakshman Prasad
The latter problem is solved. It was just a mysql integrity error because of a larger field name. I just resized the field sizes and it works! On Fri, May 29, 2009 at 8:44 PM, Lakshman Prasad <scorpion...@gmail.com>wrote: > I performed *python2.5 manage.py dumpdata* on a proje

django-admin loaddata and dumpdata problem.

2009-05-29 Thread Lakshman Prasad
I performed *python2.5 manage.py dumpdata* on a project folder and received the following error: Error: Unable to serialize database: Project matching query does not exist. Also, I have a file dump.xml obtained by dumpdata on a different environment. The loaddata stops abruptly leaving the

Re: "Conditional fields" in forms

2009-05-28 Thread Lakshman Prasad
You will need to use dynamic forms. On Thu, May 28, 2009 at 1:02 AM, Jochem Berndsen wrote: > > All, > > Is there an easy way to include "conditional fields" in forms within the > Django framework. By "conditional fields", I mean fields that are shown > or not shown depending

Re: How to write subdomain from django apps

2009-05-21 Thread Lakshman Prasad
Here is one interesting open source implementation: http://uswaretech.com/blog/2009/03/django-subdomains-easily-create-subscription-based-subdomains-enabled-webapps/ On Fri, May 22, 2009 at 12:20 AM, Tom Evans wrote: > > On Thu, 2009-05-21 at 16:24 +1000, Joshua Partogi

Re: Best Django host

2009-05-20 Thread Lakshman Prasad
In a sentence, to sum it up, Use Slicehost for VPS and Webfaction for shared servers. Go shopping if you want to save some bucks and dont mind some extra effort for installation. On Wed, May 20, 2009 at 11:19 PM, ringemup wrote: > > > FWIW, I got django working on Dreamhost

Re: Template tags and variables overlapping

2009-04-30 Thread Lakshman Prasad
Why cant you just do something like {% sayHello " Hello Robert and " %} {{ currentname }} 2009/4/30 Julián C. Pérez > > hi u all... again > this has become my first resource on getting help > a new doubt i have... > in templates... > i have a variable, let's say varOne

Re: Google Appengine patch and Apengine Helper

2009-04-27 Thread Lakshman Prasad
earch for conversations from > back in Feb that indicate this. > > The differing data models are really quite problematic. > > > On Apr 25, 5:56 pm, Lakshman Prasad <scorpion...@gmail.com> wrote: > > I see 2 different django projects for porting django app to app-engine > > &

Google Appengine patch and Apengine Helper

2009-04-25 Thread Lakshman Prasad
I see 2 different django projects for porting django app to app-engine http://code.google.com/p/app-engine-patch/ http://code.google.com/p/google-app-engine-django/ I'd like to know the preferred module to use and the relative benefits and problems. Thanks in advance. -- Regards, Lakshman

Authorize.net integration problem

2009-03-31 Thread Lakshman Prasad
Hi, I am trying to integrate Authorize.net SIM API into django views. I am facing a problem in the fingerprint generation. I am repeatedly getting that the fingerprint generated doesn't match the one the server generates. I have generated the md5 hash with the key provided as specified in the

Re: Django and IIS 7

2009-03-26 Thread Lakshman Prasad
django working on Jython was a Google Summer of Code project. I am not aware of any project of porting django to work on IronPython. On Thu, Mar 26, 2009 at 8:02 PM, P M wrote: > IronPython is not CPython , i will be amazed if these two works > identically ... > > On

django with wing IDE

2009-03-24 Thread Lakshman Prasad
Hi, With the latest beta version of Wing 3.2, the auto complete of attributes happen during debug, by sniffing the current python namespace. This means that, even the ORM objects should auto complete in the IDE. But hooking wing run to django run server itself is a huge process. Can somebody

django admin

2009-03-24 Thread Lakshman Prasad
Hi, I was thinking that django admin is an utility to provide trusted administrators of the site, full access to the site's data model. However, after going through django admin in detail, I understand that it is very powerful set of views and templates that one can use to create an entire

Re: Sort of OT on the django book

2009-03-18 Thread Lakshman Prasad
I do not get these comments even on firefox on ubuntu. I know, my colleagues do get it on FF on ubuntu, But I dont. Thanks for pointing, it is done. I am going to read it too. BTW, when is James Bennet's book 2.0 release? On Thu, Mar 19, 2009 at 12:11 AM, waltbrad wrote: