Re: trouble installing the django-socialregistration app

2010-12-05 Thread Konrad Delong
On 6 December 2010 01:10, Patrick wrote: > Hello, >  I'm new to django and hope I'm not asking an obvious question. > > I've tried to install django-socialregistration. I have the api_key > and secret_key in settings.py, but I keep getting the following error: > File "C:\projects\sample\Pinax-0.7.

Re: DJANGO administration

2010-12-06 Thread Konrad Delong
On 6 December 2010 11:21, x_marine wrote: > Hi all, > > I have been using Django for a client. The client want the word " > Django Administration "  to be change to " Amazonia Administration" > > > Where do I find the html files and how do I change them? http://docs.djangoproject.com/en/dev/ref/c

Re: Main model name in Admin Site

2010-12-06 Thread Konrad Delong
On 6 December 2010 21:45, robos85 wrote: > Is there any possibility to name the main model? I don't mean the each > model class, but main wrapper for all classes in model. Now it takes > the name from the application name. I want to name it by my own. You can set verbose_name in your model's "Met

Re: Complex serialization from models

2010-12-21 Thread Konrad Delong
On 21 December 2010 13:19, gregory semah wrote: > Nobody has a quick answer ? > It looks like xml serialisation wasn't designed to be customisable in the way you need. If I were you, I'd look around the code and see what I could reuse from there. Konrad > On Dec 20, 4:11 pm, gregory semah wrot

Re: Thinking to change my db schema

2011-01-16 Thread Konrad Delong
> -I didn't know about the PickleField. I'm now reading about it, maybe > I could use it to store all the transaction's datetime objects. I'm using PickleField for precomputing some values, that I'd like to keep normalized as well. Found no problems with this approach so far. You can implement re-

Re: template tag arithmetic

2011-01-18 Thread Konrad Delong
On 18 January 2011 15:02, Thomas wrote: > > Am 18.01.2011 um 14:53 schrieb GD: > >> >> Hi everyone, >>     Is there a way to do simple loop counter manipulation within the >> template? I.e something along the lines of: >> >> {% for x in a %} >>      loop number = {{forloop.counter +1}} >> {% endfo

Re: djangos flat pages

2011-01-20 Thread Konrad Delong
On 20 January 2011 09:43, Lukasz Szymanski wrote: > Hi there, > Is there any way ( module,app ) to implement custom flat pages inside > the app? > > example. > I have a newsletter app with user emails. I would like to have a email > form inside my app (admin backend) to send newsletters. It looks

Re: How to add a top menu to admin site.

2011-01-20 Thread Konrad Delong
On 20 January 2011 06:49, hollando wrote: > I'm building my application with the admin site. > As a start point, it make things so easy. > However, I want to add a top menu that links to my apps and some of > the dynamic pages. > My top menu is kinda simple. Unlike treemenu, it's just flat menu wi

Re: Mongo - testing

2011-01-21 Thread Konrad Delong
On 20 January 2011 22:26, Andrew Marder wrote: > Has anyone had any luck setting up testing databases with mongo? Right > now I'm using pymongo in a single app, and I thought it would be cool > if in that app I could see if my code was being tested and in that > case I could use a different databa

Re: Cant find out the "OR" in query

2011-01-24 Thread Konrad Delong
On 24 January 2011 07:18, nicolas lubkov wrote: > hi all is pretty simple my question. > when im making a query in django i use this > result = person.objects.filter(name = "nick", lastname = "smith") > > this is like "select * from person where name = 'nick' and lastname = 'smith > i cant figure