Re: how to tricking LogEntry model ?

2013-03-02 Thread Bino Oetomo
Nevermind. I Solved this problem by another route. Subclass the ModelAdmin, and overide : log_addition, log_change, log_deletion method. Sincerely -bino- -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

FastCGI Recipe for shared hosting

2013-03-02 Thread Tim Johnson
* Tom Evans [130301 06:44]: > Apache httpd with mod_fastcgi: > > RewriteCond %{REQUEST_URI} !^/media > RewriteCond %{REQUEST_URI} !^/ > # repeat for any other directories you want httpd to serve > RewriteRule ^/(.*)$ /app.fcgi/$1 [QSA,L] > FastCGIExternalServer

Re: Request for comments on a new Open Source Paas platform for Django

2013-03-02 Thread Christopher Glass
Hi Patrick, Great to hear you're interested in writing a Django charm for juju! I have toyed around with the idea, but never got around to implementing something good. I started looking at the current Django charm a little while ago, and while it works to some extend I think we could make

empty static_url

2013-03-02 Thread Phil
Hi, I'm using django1.4.3 I have a django project with 3 apps. All 3 apps templates extend 'app.html'. On 2 of my projects the CSS loads fine, but on third one the CSS doesn't get loaded because it's not adding '/static/' to the url to the CSS. So instead of '/static/css/style.css' I'm

Re: IntegrityError after updating to custom user field: django_admin_log still has fk to auth_user

2013-03-02 Thread Peter of the Norse
This sound like a South kind of problem. Your tables were created with a foreign key from django_admin_log to auth_user, but you’re not longer using auth_user. You’ll have to drop the foreign key and recreate it to remove this error. On Feb 27, 2013, at 4:17 PM, Ben Roberts wrote: > This ring

how to save manytomany relation data to database through form....

2013-03-02 Thread Iftikhar Ali
i am having one tag class and one user in which user contained a tag element which has manytomany relation with tag class can you guyz tell me how to save this tag using form i attached the form.py model.py and view.py my problem is the tag element i can't access through the form and don't

Re: error in filling data in database through admin page

2013-03-02 Thread Николай Федосов
https://docs.djangoproject.com/en/dev/topics/db/models/ starting from: Extra fields on many-to-many relationships 01.03.2013 19:13, C. Kirby пишет: It would be helpful to see the model definition(s) and the admin.py if you wrote one On Friday, March 1, 2013 1:06:34 AM UTC-6,

Re: Django URLs with/without proxy server

2013-03-02 Thread Bill Freeman
You haven't show project/app1/urls.py (or wherever you're getting project.app1.urls). My guess is that it also specifies that each url begins with "app1/". Since the root urlconf matches *and consumes* one "app1/" from the request path, any "app1/" required by app1's urls.py is required in

Re: Experiences with A/B testing?

2013-03-02 Thread sidmitra
Hi Tomas, I do have some experience. I would advise you to look at http://www.optimizely.com as an alternative first. It's definitely easier to setup. Ofcourse coding backend to do A/B tests is always much more flexible at the expense of a lot of effort. So over the past year i've

Storing versioned maps of application connections?

2013-03-02 Thread Victor Hooi
Hi, We have a legacy Django application that parses configuration files for several in-house applications, builds up a map of those applications, including any network connections between them (based on IP address and port), then stores them in Django models. Each application object will