Template Inheriting in Apache server

2012-10-29 Thread Pervez Mulla
Hi, Sorry for this question in this group .I Just wanted to know is there any way , I can Inherit different HTML templates from base.html as we do in Django framework in Apache2 server? Thank You Pervez -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Struggling with static files

2012-10-22 Thread Pervez Mulla
something like this in your setting.py STATIC_ROOT = ''/home/john/yourprojectdir/yourappdir/staic/" On Mon, Oct 22, 2012 at 2:48 PM, Xavier Ordoquy wrote: > Hi, > > Your static folder should be declared in STATICFILES_DIRS if you want him > to be served (see > https://docs.djangoproject.com/en

Re: Struggling with static files

2012-10-22 Thread Pervez Mulla
Give path to your STATIC_ROOT of your static folder. Pervez On Mon, Oct 22, 2012 at 2:26 PM, DJ-Tom wrote: > Hi, > > I'm fairly new with Django and currently I'm only "playing around" to get > a better feeling for the framework. > > I have read the documentation and almost all of the posts her

Trying to send key value pair to perl script using subprocess

2012-10-16 Thread Pervez Mulla
Hi, I am trying to send key:value pair to perl script via sub-process module . I just tried with simple example it works fine. How can I pass key:value pair to perl script .? Ans also how can send multiple input fields value to perls script> Below is my code view.py --

Re: How can I integrate simple Custom login page in Django.......?

2012-10-15 Thread Pervez Mulla
Instead of CGI server path , I places perl script in static folder and given path for that . On Mon, Oct 15, 2012 at 4:09 PM, Pervez Mulla wrote: > responseText: #!/usr/bin/perl -T use CGI; use DBI; use strict; use > warnings; use netsharkusr; my $cgi = CGI->new; my $username = >

Re: How can I integrate simple Custom login page in Django.......?

2012-10-15 Thread Pervez Mulla
password is wrong"}}; # return JSON string print $cgi->header(-type => "application/json", -charset => "utf-8"); print $json;, textStatus: parsererror, errorThrown: undefined On Mon, Oct 15, 2012 at 4:07 PM, Sergiy Khohlov wrote: > please provide err

Re: How can I integrate simple Custom login page in Django.......?

2012-10-15 Thread Pervez Mulla
On error note its printing all pelr script itself. On Mon, Oct 15, 2012 at 3:31 PM, Sergiy Khohlov wrote: > please provide error message > > 2012/10/15 Pervez Mulla : > > Thank You for your response Sergiy , > > > > I already try'd to run this script as sho

Re: How can I integrate simple Custom login page in Django.......?

2012-10-15 Thread Pervez Mulla
> > set this one in setting.py > > 2012/10/15 Pervez Mulla : > > Hi, > > > > I have login.html , login,js ang login.pl. > > > > I want to integrate basic login page in Django with perl back-end from > where > > Am reading my DB. > > I was tr

How can I integrate simple Custom login page in Django.......?

2012-10-15 Thread Pervez Mulla
Hi, I have login.html , login,js ang login.pl. I want to integrate basic login page in Django with perl back-end from where Am reading my DB. I was trying to integrate it from last day but come out with empty .There might be some settings in setting.py. Below is my code -- login.ht

Browser get closed when clicked on others links

2012-09-18 Thread Pervez Mulla
Hi, I have developed simple website with Django framework. When i want to switch to other page, the browser getting closed..:( What the problem for this ? Thank You Pervez -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group

Re: After form validation, need to post and call a perl program to display to a log file

2012-08-26 Thread Pervez Mulla
n, make > sure to know the risks and consider alternatives. > -Nick > > > On Friday, August 24, 2012 6:11:45 AM UTC-7, Melvyn Sopacua wrote: >> >> On 24-8-2012 8:41, Pervez Mulla wrote: >> >> > Once validation happened (its working good), I wanna call perl sc

After form validation, need to post and call a perl program to display to a log file

2012-08-23 Thread Pervez Mulla
Hi, I have written code for form validation for different filed . Once validation happened (its working good), I wanna call perl script to disply it content to lof file ... How can I do this ..?? Please help me Pervez -- You received this message because you are subscribed to the Google

Re: I LOVE THIS COMMUNITY!

2012-08-21 Thread Pervez Mulla
Yup.:) Really its very awesome community :) On Wed, Aug 22, 2012 at 9:19 AM, JJ Zolper wrote: > I agree too! > > > On Tuesday, August 21, 2012 7:38:45 PM UTC-4, Peith wrote: >> >> i agree > > -- > You received this message because you are subscribed to the Google Groups > "Django users"

Re: calling perl script from HTML on submit button

2012-08-13 Thread Pervez Mulla
to write > your app in Perl, use a Perl framework. > > On Aug 13, 2012 5:34 AM, "Pervez Mulla" wrote: > > > > Hi, > > > > I have sign-up page, for that I have perl script to store the > user details in DB .The DB code that has is auto-generated, i.e

calling perl script from HTML on submit button

2012-08-13 Thread Pervez Mulla
Hi, I have sign-up page, for that I have perl script to store the user details in DB .The DB code that has is auto-generated, i.e. we can just specify objects (User Details)and then it creates read and write functions for the DB. Next step is to also auto-generate some HTML forms based on these o

Login/ Logout user details

2012-08-09 Thread Pervez Mulla
Hi, Please tell me how can I know ,the details about user login and logout details , and how can I store that data in DB in Django. Thank You Pervez -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us

How to toggle active/inactive items on webpage using Djnago/python......?

2012-07-16 Thread Pervez Mulla
Hey, In my webpage how can Active/Inactive some items based on user subscription? If customer is subscribed (Active)then he can able to access all the futures ,else customer will able to access only few(limited) items in webpage? How can do this in Djnago...? Please help me Thank Yo

Re: Django-Subscription

2012-07-10 Thread Pervez Mulla
can I use Paypal for this.? On Mon, Jul 9, 2012 at 9:07 PM, shacker wrote: > On Monday, July 9, 2012 2:54:06 AM UTC-7, Pervez Mulla wrote: >> >> Hi... >> >> How can I make use Django_subscripation in my project...?? In my >> application I want to giv

Django-Subscription

2012-07-09 Thread Pervez Mulla
Hi... How can I make use Django_subscripation in my project...?? In my application I want to give subscription option , EX- If customers are subscribed to our product then they can able to access all the data, Else the customer will able to see only charts/graphs in webpage . How Can I do this...

Hey

2012-06-25 Thread Pervez Mulla
HI, How can I extract data from DB so that I can take that data n send it to templates to display graphs according to DataBase values . How can I write view function for that? Thank You Pervez -- You received this message because you are subscribed to the Google Groups "Django users" group. T

Re: How to trigger perl scrip in Django

2012-06-19 Thread Pervez Mulla
OKi.no Am just trying out something different . On Tue, Jun 19, 2012 at 12:54 PM, kenneth gonsalves wrote: > On Mon, 2012-06-18 at 22:57 -0700, Pervez Mulla wrote: > > I am Newbie.recently started with django,how to trigger simple Perl > > script > > in django

How to trigger perl scrip in Django

2012-06-19 Thread Pervez Mulla
I am Newbie.recently started with django,how to trigger simple Perl script in django project, EX: small script in perl or bash to do a hello world to a file echo "hello world" > /home/hello.txt should be able to trigger the hello world script and see if the /home/hello.txt file has been c