questions/python
Hello @kartik, You can debug a custom Django ...READ MORE
Hello @kartik, The correct way to create a ...READ MORE
Hello @kartik, You don't need to overwrite or ...READ MORE
Hi@akhtar, Strings can be reversed using slicing. To ...READ MORE
Hi@akhtar, Starting from IPython 3 (now Jupyter project), ...READ MORE
Hi@akhtar, There is no simple way to import ...READ MORE
Draw nested squares to create pursuit curves. ...READ MORE
Hello @kartik, The simplest way to include the {{csrf_token}} value ...READ MORE
Hello @kartik, Simple you can use this code: class ...READ MORE
Hello @kartik, For Django >= 1.8 you can ...READ MORE
Hello @kartik, You'll notice that password_reset takes a named parameter ...READ MORE
Hello @kartik, Expire the session on browser close ...READ MORE
Hello @kartik, You can just show both forms ...READ MORE
Hello @kartik, For Django 1.7+, you should use form.add_error() instead ...READ MORE
Hello @kartik, Here is how to do Basic ...READ MORE
So I have two csv files: csv1.csv: 2010-12-10, Steve, ...READ MORE
Hi @There, As the path is fixed, use ...READ MORE
Hello @Alisha , Do print(func(x)) and find out what's ...READ MORE
Hello @kartik, Inside a manager: def delete_everything(self): ...READ MORE
Hello @kartik, Text printed to stderr will show ...READ MORE
Hello @kartik, You could do this: import itertools ids = ...READ MORE
Hello @kartik, My settings.py did not have a ...READ MORE
Hello @kartik, This is a helper to set ...READ MORE
Hello @kartik, First make sure you have SessionMiddleware and AuthenticationMiddleware middlewares added ...READ MORE
Hello @kartik, You cannot access the request.user directly. You need ...READ MORE
Hello @kartik, Try this: from south.db import db from south.v2 ...READ MORE
Hello @kartik, You can try this: from django.views.generic import ...READ MORE
Hello @kartik, I usually have one settings file ...READ MORE
Hey, @There, This kind of error happens once ...READ MORE
Hello, @Pawan, The as_matrix method is deprecated since 0.23.0, so ...READ MORE
Hi@Nilesh, You have created two empty lists. And ...READ MORE
Hi@Nilesh, You created two empty lists. And in ...READ MORE
Hello @shamsher, First try to check what version ...READ MORE
Hello @ nishit, Indentation means the space from margin to ...READ MORE
Hello @bhawna, You can encapsulate all the logic ...READ MORE
Hello @kartik, To check for permissions in templates, ...READ MORE
Hello @kartik, Try this: records = query1 | query2 If ...READ MORE
Hello @kartik, To drop the database and run syncdb again. ...READ MORE
Hello @kartik, Python you can write your own ...READ MORE
learn python at H2K Infosys and master ...READ MORE
Hello @kartik, To trigger a download you need ...READ MORE
Hello @kartik, If you want two objects with ...READ MORE
Hello @kartik, Within your template, you can use ...READ MORE
Hello @kartik, The following code works: >>> from django.template ...READ MORE
Hello @kartik, The problem was that test couldn't find ...READ MORE
Hello @kartik, simplejson and json don't work with django objects well. Django's ...READ MORE
Hello @kartik, You can fetch the URL in ...READ MORE
Hello @kartik, If you still need to server ...READ MORE
Hello @kartik, Errors are stored in the nginx ...READ MORE
Hello @kartik, Use handy request.build_absolute_uri() method on request, pass it ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.