extensive Linux user with python and php programming

18h
comment Python: How do I run a django project in a script
Django doesnot run through Pycharm or Eclipse. It is run through manage.py file which is already available. Just do python manage.py runserver for development server.
Aug
31
awarded Nice Answer
Aug
24
awarded Famous Question
Aug
20
awarded Yearling
Aug
20
awarded Yearling
Aug
10
awarded Good Answer
Jul
30
comment Error in calling a class in Python
I think your example code is compatible with python2 and not python3. You are trying to run it in python3. AFAIK there is no encode methods with string types in python3 as they are unicodes. Or you may need to change the sample code to be compatible with python3
Jul
23
comment Show a successful message with Class Based Views
@ElioClímacoHerrera I guess your form is throwing error and not saving. Have you checked on that ? Also the Mixin should be in order of as stated on the docs.
Jul
23
comment Django request XML file
You could also use request.read() ? Also since your method is POST you may need to check it as well. By default the view addresses "GET" method AFAIK.
Jul
20
answered Django ForeignKey OR statement
Jul
19
awarded Notable Question
Jul
2
awarded Curious
Jun
25
awarded Enlightened
May
29
comment skype default view in ubuntu
Skype in ubuntu is in version 4 and not on par with windows or mac versions. You will not have default view. If you want some consistency with the theme of your desktop you will need to install gtk2-engines-murrine:i386 and if the tray icon is not show you need to install sni-qt:i386
May
26
comment Geany symbol menu in VIM
Since vim is an extremely extensible language see vim.wikia.com/wiki/Use_Vim_like_an_IDE#Code_Browsing
May
24
comment Get the index that caused an IndexError exception
You could manually check against length of the list as the first IndexError would be caused at that point.
May
23
answered What's the difference that make class or def in django
May
23
comment Django: CSRF token missing or incorrect. / avoid {% csrf_token %}
I donot think there is backend solution for this as it is dependent on client side as well AFAIK. CSRF checks are handled with django.middleware.csrf.CsrfViewMiddleware see if you can extend this to work in your way.
May
23
answered Django: CSRF token missing or incorrect. / avoid {% csrf_token %}
May
12
answered how to Campare input string with database object
1 2 3 4 5