Django Performance

2015-04-18 Thread Jasvir Singh
Hi all. I have an school assignment in which I have to describe a
piece of code of any open source software and I am going to write
about django login function (django.contrib.auth.views). I have to add
"Performance and Drawbacks" also. Can anyone please help me?

I need to know how much efficient and secure django login system is.
Is there any drawback of django login system?

-- 
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/ccd770b1-6352-49fc-b57f-cf3b297093c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when using apache 2.4.6

2014-01-17 Thread Jasvir Singh
On Fri, Jan 17, 2014 at 8:53 PM, Sandeep kaur  wrote:
> that means add slash at the end.

No, It didn't works.

-- 
Jasvir Singh Grewal
www.jsgrewal.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN_O85v3i%2Bzum2J80XsdAJObAAf7Kuzdsf1Dc0c0jHyEreF5Sw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Error when using apache 2.4.6

2014-01-17 Thread Jasvir Singh
On Fri, Jan 17, 2014 at 8:37 PM, Andrew Farrell  wrote:
> To bisect your problem, I think that the error happens before the wsgi file
> even runs.
> you can test this by putting
> assert False at the top of /home/jass/Automation/apache/django.wsgi and
> seeing if the error changes to a 500. If it doesn't, I'm right. If it does,
> the problem is in django.wsgi

yes you are right. When I removed wsgi file, error remains same

> Given that,
> What does `ls -la /home/jass/Automation/apache/` say?
total 12
drwxrwxrwx  2 jass jass 4096 Jan 17 23:57 .
drwxrwxrwx 11 jass jass 4096 Jan 17 17:28 ..
-rw-r-  1 jass jass  203 Jan 17 23:57 django.wsgi

> What about `tail -n 140 /var/log/apache2/error.log`

https://gist.github.com/jasvir99/8478976

-- 
Jasvir Singh Grewal
www.jsgrewal.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN_O85u3PuZRMvB6CmhE2exVLihQCV7-o8ew4kWxKM3amR92bg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Error when using apache 2.4.6

2014-01-17 Thread Jasvir Singh
Hello everyone.
I am facing a problem when I access it in browser. I need your help to
solve this error.
I am using apache 2.4.6 as web server and django-1.5.2 as framework.
Here are my httpd.conf file and wsgi script:
http://paste.ubuntu.com/6766758/
http://paste.ubuntu.com/6766759/

When ever I access localhost/automation, it gives following error :
http://pbrd.co/KmTP4Y

Please feel free to ask anything else.

-- 
Jasvir Singh Grewal
www.jsgrewal.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN_O85uhhWz1pDtDED9iwphk3oRRCn6QMP4Vd_so%2BwC3OM2zvQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Django Tutorials

2013-11-04 Thread Jasvir Singh
On Mon, Nov 4, 2013 at 5:33 PM, Pepsodent Cola  wrote:

Hello Pepsodent.

> Now your website looks more 2010 than 1990.  It looks fresh and is more
> pleasant for the eyes for lengthy reading compared to your first website.

Thanks for your appreciation. :)

> The only thing I'm missing now is some sort of breadcrumb navigation that

> engine which is Wordpress I guess and pick what suits your tutorial
> structure and taste the best.

Thanks for your suggestion.
It's done. Now you can see there "you are here:". :)


-- 

Jasvir Singh Grewal
Blog:http://jasvirsinghgrewal91.wordpress.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN_O85tvekT5XoGOz6GtOSE2sRO4q0q4TK8f9XZH5q2uMbMUUw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Django Tutorials

2013-11-04 Thread Jasvir Singh
On Sat, Oct 26, 2013 at 6:35 PM, Jasvir Singh  wrote:
> Here is link of my tutorials
> http://goo.gl/3jPaf7

Now these tutorials are shifted to my personal domain.
http://www.jsgrewal.com/tutorials/django/

@all, critical reviews are needed.

-- 

Jasvir Singh Grewal
Blog:http://jasvirsinghgrewal91.wordpress.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN_O85vDtM9rxyR896Ndc7dxBiwaCaT-CubOn0bR8tDUPfy3YA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Django Tutorials

2013-10-28 Thread Jasvir Singh
On Tue, Oct 29, 2013 at 2:05 AM, Mario R. Osorio  wrote:
>you should not feel low
> confidence for any reason. On the contrary: Had you not received any
> comments, THEN you should worry!
No, I am not feeling low. As I have already said that typography is on
top priority.
While wrting these articles, I didn't paid any attention towards
typography but It was the biggest mistake.
So, first I'll improve that, then I'll add more posts.
I'll definitely notify here when It is done so that you can review it.

Again thanks for your suggestion. :)

-- 

Jasvir Singh Grewal
Blog:http://jasvirsinghgrewal91.wordpress.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN_O85sxhss-BmveXQnxX9OqKjiHviELbyeffz2YD6OaF-Ynkg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Django Tutorials

2013-10-28 Thread Jasvir Singh
On Mon, Oct 28, 2013 at 9:48 PM, Nigel Legg  wrote:
> I have looked at this a few times, and now I have realised what was bugging



> So I think that it would be much more useful and accessible if it was a
> series of pages rather than a series of blog posts.

Even I was thinking this too.
Soon I'll shift this content to my personal domain where there will be
complete section for these tutorials in a continues manner.

-- 

Jasvir Singh Grewal
Blog:http://jasvirsinghgrewal91.wordpress.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN_O85vrgKmJ5RA0yoi2j6R%2BJTgZeyKFrtjMxGLBv82WS03aow%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Django Tutorials

2013-10-28 Thread Jasvir Singh
On Sat, Oct 26, 2013 at 9:12 PM, Pepsodent Cola  wrote:
> Maybe make the text typography easier to see and read?

Thanks for your suggestion. This is one the best suggestions that I
have got about my blog.
Now I am working on it.
I'll let you know when it's done. Then you can again review it. :)

-- 

Jasvir Singh Grewal
Blog:http://jasvirsinghgrewal91.wordpress.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN_O85ttvyyzG-xa6CXfC3S4RNYpMCuxu5_wFroXf86gRn9f_g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Django Tutorials

2013-10-28 Thread Jasvir Singh
On Mon, Oct 28, 2013 at 11:01 AM, Diogene Laerce  wrote:
> I find it nice. A table of contents with links to each articles would be
> great. ;)

Thanks Diogene.
Keep reviewing it. You comments will boost up my confidence. :)

-- 

Jasvir Singh Grewal
Blog:http://jasvirsinghgrewal91.wordpress.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN_O85tktbo5yGN1Q-MsjMAGtUDFNQGCf_9mLyx1eEAb_cgagA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Django Tutorials

2013-10-28 Thread Jasvir Singh
On Mon, Oct 28, 2013 at 12:20 AM, Mario Osorio  wrote:
> From a noob:

> You seem to have some good articles, but you should at the very least revise
> your typography.

Thanks Marlo.
Typography is on top priority now. I'll add new post after revising typography.

-- 

Jasvir Singh Grewal
Blog:http://jasvirsinghgrewal91.wordpress.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN_O85v0v4%3DV%2B33DcThrZdAbbR7g-W2rwGyeWRZ%3Dff9eL%3DYPJg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Django Tutorials

2013-10-26 Thread Jasvir Singh
I have started a series of Django tutorial for beginners. I am making
them in such a way that a user get knowledge for working on Django in
quick and efficient way.
Till now, I have completed only introduction phase.

I'll also make video tutorials for the same exercises.

Here is link of my tutorials
http://goo.gl/3jPaf7

Please review it. I need your suggestions to make them more efficient.

-- 
Jasvir Singh Grewal
Blog: jasvirsinghgrewal91.wordpress.com

:
[ GNU/Linux One Stanza Tip (LOST) ]###
 
Sub : To randomly play mp3 songs from a directoryLOST #243

mpg123 -z /path/to/mp3s/*.mp3
This will randomly play mp3 songs from the specified folder.
 
[ajitabhpandey (at) users.sourceforge.net]
:

-- 
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/20131026130513.GA29063%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


New Feature

2013-10-12 Thread jasvir singh
Hello everyone.

I am new to this mailing list, but have a long relationship with django.
I want to add something new to django, a new package to django.
Please suggest me to do something creative.
Previously I was thinking to create a package to embed youtube videos, but
packages for same already exist. Same thing happened with chatting package.
I want to create a new package.
Please suggest me something.
-- 
Mr. Singh

-- 
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/CANJu%3DjFHGjVp%3Dv05zz4XJuRp9rFccSHg8wRcDAkpDMU1RKX6bw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Multiple versions of Django

2013-09-30 Thread Jasvir Singh
On Mon, 30 Sep 2013, Jasvir Singh wrote:

> Is it possible to install multiple versions of Django on single ubuntu server.
> If yes, please tell me how to do this.
@all, thanks for their help but my requirement is to use multiple 
versions of django on single server. I have to use it apache web server.
Here is the full scene. 
I have django 1.4.2 installed on ubuntu server which uses apache. 
There are several django based applications installed on it. All of 
them are working on django 1.4.2 . But recently I have developed an 
another application using django 1.5.2. Now I have to install that 
application on server, but problem is that, I can not remove django 
1.4.2 from server. For this purpose, I have tried virtual environment 
using steps given in following link:
http://serverfault.com/questions/413879/how-can-i-run-two-django-versions-in-the-same-server

But when I wish to use to application, I have to switch on virtual 
environment and start then django server. I want that app to run without 
using django server. 
Hope that I am able to explain the problem. If there is any confusion, please 
ask.


-- 
Jasvir Singh Grewal
Blog: jasvirsinghgrewal91.wordpress.com

:
[ GNU/Linux One Stanza Tip (LOST) ]###
 
Sub : To randomly play mp3 songs from a directoryLOST #243

mpg123 -z /path/to/mp3s/*.mp3
This will randomly play mp3 songs from the specified folder.
 
[ajitabhpandey (at) users.sourceforge.net]
:

-- 
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/20131001031536.GA9891%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Multiple versions of Django

2013-09-30 Thread Jasvir Singh
Is it possible to install multiple versions of Django on single ubuntu server.
If yes, please tell me how to do this.
I have already made a try for this using virtual environment, but
found that it is only for development.

-- 

Jasvir Singh Grewal
Blog:http://jasvirsinghgrewal91.wordpress.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN_O85vhiKvpdxf74stvfR1AsLcoP6E1EeC1M86nHgFRF34K1g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Responsive design

2013-09-28 Thread Jasvir Singh
On Thu, Sep 26, 2013 at 1:48 PM, Jasvir Singh  wrote:
> Could anyone please tell me, how to make responsive design
> in django?
Thanks everyone.
Please give me links of some responsive website made in django.

-- 

Jasvir Singh Grewal
Blog:http://jasvirsinghgrewal91.wordpress.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.
For more options, visit https://groups.google.com/groups/opt_out.


Responsive design

2013-09-26 Thread Jasvir Singh
Could anyone please tell me, how to make responsive design
in django?
-- 
Jasvir Singh Grewal
Blog: jasvirsinghgrewal91.wordpress.com

:
[ GNU/Linux One Stanza Tip (LOST) ]###

Sub : awk tips [#13] LOST #473

# Print sequence number and then column 1 of file:
$  awk '{print NR, $1}' textfile
   
[banduji (at) symonds.net]
:

-- 
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.