Re: Reports

2008-04-02 Thread Alagu Madhu
rlib.sicompos.com http://www.htmltopdf.org/ http://openreport.org/index.py/static/page/docs On Apr 2, 2:51 pm, "Marinho Brandao" <[EMAIL PROTECTED]> wrote: > Sorry, I sent to wrong user group > > 2008/4/2, Marinho Brandao <[EMAIL PROTECTED]>: > > > > > Olá, > > >  para geração de gráficos, dê

Django + XUL

2006-12-25 Thread Alagu Madhu
How to use XUL (templates) in Django ? --~--~-~--~~~---~--~~ 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 e

Re: Django + XUL

2006-12-25 Thread Alagu Madhu
Jacob Kaplan-Moss wrote: On 12/24/06 11:24 PM, Alagu Madhu wrote: > How to use XUL (templates) in Django ? Write a template that returns XUL instead of HTML. You might want to check out chapter 11 of the Django book, which deals with generating non-HTML content: http://www.djangobook.com

Re: Django + XUL

2006-12-25 Thread Alagu Madhu
Django + xul - woking fine.The code is bellow. view.py : from django import http def index(request): resp = http.HttpResponse() resp.headers['Content-Type'] = 'application/vnd.mozilla.xul+xml' resp.write('') resp.write('') resp.write('http://www.w3.org/1999/xhtml"; xmlns=

old plain db-api

2006-12-26 Thread Alagu Madhu
Hi, I like to use django with just plain db-api.I'm looking for example or reference. thanks Madhu Alagu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

old plain db-api

2006-12-26 Thread Alagu Madhu
Hi, I like to use django + plain db-api(psycopg2).I'm looking for example or reference. Thanks Madhu Alagu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send ema

Re: old plain db-api

2006-12-26 Thread Alagu Madhu
thanks --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For mo

XMLHttpRequest - HttpResponseRedirect - Issue

2007-01-02 Thread Alagu Madhu
Hi All, I am facing a problem in login screen using XMLHttpRequst sending the data to the controller.controller is getting the value through request.POST. but its not redirecting the same. from django.http import HttpResponse, HttpResponseRedirect import db def login(request): args = []

Django + XUL

2006-08-31 Thread Alagu Madhu
I'm looking for django + xul example or reference. --~--~-~--~~~---~--~~ 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 gr

XUL template

2011-05-21 Thread Alagu Madhu
Hi, from django.shortcuts import render_to_response def login(request): return render_to_response('login.xul', mimetype="application/ vnd.mozilla.xul+xml") and def login(request): response = render_to_response('login.xul') response['Content-Type'] = "application/vnd.mozilla.xul+xml"

Re: XUL template

2011-05-21 Thread Alagu Madhu
Firefox 4 - Remote XUL support removed On May 21, 12:09 pm, Alagu Madhu wrote: > Hi, > > from django.shortcuts import render_to_response > > def login(request): >     return render_to_response('login.xul', mimetype="application/ > vnd.mozilla.xul

Serving static file on Windows

2011-05-24 Thread Alagu Madhu
Hi, sample/ media/ js/jquery.1.6.1.min.js css/ static/ js/jquery.1.6.1.min.js css/ settings.py import os PROJECT_DIR = os.path.abspath(os.path.dirname(__file__)) MEDIA_ROOT = os.path.join(PROJECT_DI

Re: Serving static file on Windows

2011-05-30 Thread Alagu Madhu
Hi, sample/ static/ js/jquery.1.6.1.min.js css/ settings.py APP_DIR = os.path.abspath(os.path.dirname(__file__)) STATIC_ROOT = os.path.join(APP_DIR, 'static/') STATIC_URL = '/static/' INSTALLED_APPS = ( 'django.contrib.auth', 'djan

Re: Serving static file on Windows

2011-05-30 Thread Alagu Madhu
urls.py from django.conf.urls.defaults import patterns, include, url urlpatterns = patterns('', (r'^$', 'hydra.views.index'), ) On May 30, 12:28 pm, Praveen Krishna R wrote: > *could you dump your urls.py ? > * > > > > > >

Re: Serving static file on Windows

2011-05-31 Thread Alagu Madhu
imiliar snippet into your projects > urls.py, urlpatterns: > > (r'^site_media/(?P.*)$', 'django.views.static.serve',{'document_root': > 'D:/djangoprojects/praveensprofile/templates/static'}), > > and in the templates something similar to the bel

Re: Serving static file on Windows

2011-05-31 Thread Alagu Madhu
Hi, I use Django 1.3. sample/ static/ js/jquery.1.6.1.min.js css/ settings.py APP_DIR = os.path.abspath(os.path.dirname(__file__)) STATIC_ROOT = os.path.join(APP_DIR, 'static/') STATIC_URL = 'http://192.168.1.141:44/static/' TEMPLATE_DIRS

Django Multilingual Model

2011-01-31 Thread Alagu Madhu
Hi I am looking best model for the following tables: - ---Table : groups_t - CREATE TABLE groups_t ( id BIGINT NOT NULL, code VARCHAR NOT NULL, version BIGINT NOT NULL ); - ---Table : groups_i18n_t - CREATE TABLE groups_i18n_t ( group_id BIGINT NOT NULL, lan