Re: i am getting ConfigParser.NoSectionError: No section: 'database' plz help

2012-09-28 Thread Nick Dokos
Laxmikant Gurnalkar wrote: > Thats the same I'm saying to you. > In your settings.conf. There is no section named 'database' Look again: there *is* a [database] section at the very bottom: [database] engine    : django.db.backends.mysql name  : kasakoo user  : root p

handling incoming xml response

2012-09-28 Thread Sait Maraşlıoğlu
Can u tell me how u handle incoming xml responses, I cant find a way to make them comprehensible and ready to use. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-

Re: Virtualenvs and editing contrib stuff manually

2012-09-28 Thread Chris Pagnutti
Right on. Thanks for your replies. Since my change to the contrib.auth.User class is so minor, I'll just make a note of it and wait for the official release of 1.5. So, with the official way of changing the User class, in order to make different "kinds" of users, would you just use groups and

Re: handling incoming xml response

2012-09-28 Thread creecode
Hello Sait, On Friday, September 28, 2012 6:38:34 AM UTC-7, Sait Maraşlıoğlu wrote: > > Can u tell me how u handle incoming xml responses, > Generally you start with an XML parsing library. Which one you choose depends on what you are trying to do and also what makes sense to you. There are man

Re: How to separate data having the same model but belonging to different users?

2012-09-28 Thread Joel Goldstick
On Sun, Sep 23, 2012 at 9:32 PM, Rohit Banga wrote: > How about maintaining one database per department and then using "using" > parameter to select the appropriate database? > There are not too many departments. I know it may not scale or seem elegant > but keeping data in separate tables or data

Re: How to separate data having the same model but belonging to different users?

2012-09-28 Thread George Silva
Use unit tests so you DO NOT FORGET to user the userid filter. You're going to walk a thousand miles to get something somewhat working and that it won't solve all your problems. At least, resolving the "forgetting the filter" issue is easy to solve. When you database starts to creep with tables y

How to create a navbar and its related .current class setting

2012-09-28 Thread Giuseppe caruso
Hi, lastly, I needed to create a navbar for a project of mines compound by static and dynamic pages. The problem I tried to solve was how to set a .current class to each item accordingly to the page visited. Static objects were simple pages of which I knew URLs, dynamic one were simple "page" ob

splitting up image loads from rest of page

2012-09-28 Thread Larry Martell
I have a template that creates a table that has clickable links. It also loads a bunch of images associated with each row in the table. Through javascript events, when the user mouses over certain fields, the images are displayed or hidden. Initially, all the images are not displayed When the page

RE: splitting up image loads from rest of page

2012-09-28 Thread aziz.man...@gmail.com
Checkout the jquery lazy load plugin [http://www.appelsiini.net/projects/lazyload]. I'm sure you can use it to achieve what you want. Minor advice, this doesnt exactly relate to django, may be SO or some other js forums / groups would be a better place to post this? -Original message-

Re: splitting up image loads from rest of page

2012-09-28 Thread Larry Martell
On Fri, Sep 28, 2012 at 1:52 PM, aziz.man...@gmail.com wrote: > Checkout the jquery lazy load plugin > [http://www.appelsiini.net/projects/lazyload]. I'm sure you can use it to > achieve what you want. Thanks. I'll check it out. > Minor advice, this doesnt exactly relate to django, may be SO o

django 1.3 google3 statics files not found

2012-09-28 Thread sandeez
Hi I am newbie to django in google3 app engine. I am currently working on a project and am using django 1.3 in appengine. Everytime I build the project, statics are not found. Please suggest any settings required for this.I have refferred following link to build the project. https://sites.googl

Re: splitting up image loads from rest of page

2012-09-28 Thread Giuseppe caruso
Also, use pagination to split your content in several pages. Google "django pagination". -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/0jBDpzoiTmIJ. To

Re: conditional model validation

2012-09-28 Thread Lachlan Musicman
On Friday, September 28, 2012, Babatunde Akinyanmi wrote: > Let me try to assist. A forms is_valid method causes 3 types of > cleaning methods to be run. Based on that, I'm sure you really don't > need to override it. > > Yes, I've just discoverde the ValidationError e part of the docs :| > I r

Re: Virtualenvs and editing contrib stuff manually

2012-09-28 Thread Russell Keith-Magee
On Fri, Sep 28, 2012 at 10:04 PM, Chris Pagnutti wrote: > Right on. Thanks for your replies. Since my change to the > contrib.auth.User class is so minor, I'll just make a note of it and wait > for the official release of 1.5. > > So, with the official way of changing the User class, in order to

Re: Pinterest like UI implementation

2012-09-28 Thread Peith Vergil
I use Masonry to get that Pinterest-like tile of images. Then I use Infinite-scroll to detect user scrolling event and load more images by sending an AJAX request to the server. You can learn about Masonry and infinite-scroll here: http://masonry.desandro.com/ -- You received this message becaus

Re: Pinterest like UI implementation

2012-09-28 Thread Nirmal Sharma
Thanks Peith. I will try Masonry and infinite-scroll. Regards ~Nirmal On Friday, September 28, 2012 8:07:34 PM UTC-7, Peith wrote: > > I use Masonry to get that Pinterest-like tile of images. Then I use > Infinite-scroll to detect user scrolling event and load more images by > sending an AJAX

Re: i am getting ConfigParser.NoSectionError: No section: 'database' plz help

2012-09-28 Thread Laxmikant Gurnalkar
ohh sorry I didnt checked, I thought it was the part of settings itself. On Fri, Sep 28, 2012 at 10:06 AM, Nick Dokos wrote: > Laxmikant Gurnalkar wrote: > > > Thats the same I'm saying to you. > > In your settings.conf. There is no section named 'database' > > Look again: there *is* a [databas