Re: django

2016-11-02 Thread Alagappan
As a first step, you should start with the Django documentation and
implement your first app following the instructions.

https://docs.djangoproject.com/en/1.10/intro/tutorial01/

On Nov 2, 2016 9:09 AM,  wrote:

> Hello friends,
>  Myself bhasker ,i am new to django ,i want learn django
> and create one web application,could you please help me anyone . I mean how
> to start learn django in python and how start development of web
> application on django Frame work.
>
>  I am eagerly waiting to learn python and django .
>
>
> Thanks,
> bhasker
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/b796cae2-2177-4cce-9f3a-3837406772e5%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHHQu5jVhbWCxweJkFtQk%2BPpNX3%2B_ZOpXY8__PQL91u5OZG3XQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: django coding

2013-10-01 Thread Alagappan Ramu
Hi Vidhu,




I' not sure what you are referring to here. With respect to Django, all coding 
standards followed are that of Python i.e. PEP8. Apart from that if you need 
help with creating websites with Django, the best place to find more 
information is the official Django Documentation which is quite extensive and 
covers everything that you will need. 




Thanks,

Alagappan Ramu







—
Sent from Mailbox for iPhone

On Tue, Oct 1, 2013 at 8:20 AM, null 
wrote:

> Hi, 
> Where can i find good django coding standards that will help me to 
> create a django website that can be used for commercial purposes?
> Best wishes
> Vidhu
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/ff585c7b-10c1-4a4c-acbc-c6620801ae48%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1380631632796.34878083%40Nodemailer.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Template Syntax Error

2013-09-23 Thread Alagappan
Looks like the is an issue in Django being able to resolve URLs in your
application. Can you paste your urls.py for more info.


Regards,
Alagappan R

Twitter: @_alagappan <https://www.twitter.com/_alagappan>

Thanks & Regards,
Alagappan Ramu
+1 (716) 598 2730

Graduate Student in Computer Science
University at Buffalo, The State University of New
York.<http://www.cse.buffalo.edu>



On Mon, Sep 23, 2013 at 7:12 AM, SHANTANU SRIVASTAVA <
shan_m...@rediffmail.com> wrote:

>
> Hi People ! Just started development with Django and am stuck with this
> error. When I run my admin panel from the server (default server of django)
> the browser shows this error "TemplateSyntaxError
> " - Caught RuntimeError while rendering: maximum recursion depth exceeded
> while calling a Python object. Help me in resolving this ! Any help
> appreciated .
>
> I am developing on a 64bit x86 machine. OS-Windows - 7.
>
> The tracebacks and detailed report is here :
> http://dpaste.com/1392716/plain/
>
> It is also attached as an attachment with this mail.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: custom if tag

2013-09-23 Thread Alagappan
You can implement has_applied as a filter instead of a template tag.
https://docs.djangoproject.com/en/dev/howto/custom-template-tags/#writing-custom-template-filters

Haven't check it, but something like {% if user|has_applied_filter: opening
%} should essentially work out for your case.


Another alternative could be use of assignment
tags<https://docs.djangoproject.com/en/dev/howto/custom-template-tags/#assignment-tags>.
>From documentation "This function works the same way as
simple_tag<https://docs.djangoproject.com/en/dev/howto/custom-template-tags/#howto-custom-template-tags-simple-tags>,
except that it stores the tag’s result in a specified context variable
instead of directly outputting it.".

Regards,
Alagappan R

Twitter: @_alagappan <https://www.twitter.com/_alagappan>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


How do I redirect a logged in customer to https page?

2013-02-11 Thread Alagappan
Hi,

In my website, I have a few http pages and a few https pages.

The session cookie has been made secure=True and once a customer logs in to
the site, we keep all pages as https.

But if the customer manually changes the URL to http, Django's
user.is_authenticated method returns False and hence is shown some content
that is to be shown for an anonymous user.

Is there a way I can redirect logged in customers to https pages even if
he/she manually changes the URL. This can either be at the project level or
in server level.

I am using Apache/mod_wsgi to run my website.

I hope I have worded my query in a clear manner. Please let me know if I
need to provide further details.

Thanks,
Alagappan



-- 
Thanks & Regards,
Alagappan Ramu
+91 9840 143 620

http://about.me/alagappanr

NIT Trichy <http://www.nitt.edu/> | Global Analytics India Pvt
Ltd<http://global-analytics.com/>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Can't find module

2012-04-28 Thread Alagappan
In your installed applications list you have mentioned 'search' as an
application. But in your url pattern you are using 'cms.search'. Either use
'cms' as your installed application or mention it as just
'search.views.search' in your url pattern.

I feel that should do the job.

Thanks,
Alagappan

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: working with forms , problem !!!

2011-12-12 Thread Alagappan
Adding the csrf context processor would fix it. Refer to
https://docs.djangoproject.com/en/dev/ref/contrib/csrf/ for more details.
As suggested, you can add your own render_to_response() wrapper, if you are
likely to use it often.


-- 
*Regards,*
*Alagappan Ramu
(http://alagappan.co.in)
*

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Unable to see Django Error Pages

2011-01-01 Thread Alagappan
Hi Friends,

I have been using Django for quite sometime now. It has been working well
for me all this while.

For the past couple of days am not able to see the Fancy Error Pages of
Django. Whenever an error occurs all I see is the name of the error -
'OperationalError', 'SyntaxError' etc on the title bar and an empty page. I
have kept the DEBUG mode ON. Am unable to find out the reason for the
missing error pages. Would be glad if you guys could help me out.

-- 
Alagappan

-- 
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...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.