37👍
✅
As to your first question:
jcomeau@intrepid:/usr/src/unternet$ python
Python 2.6.6 (r266:84292, Oct 9 2010, 11:40:09)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
>>> django.get_version()
'1.2.3'
- Tag inside tag in django template
- Make Django test case database visible to Celery
- Why is Django's Meta an old-style class?
- ALLOWED_HOSTS and Django
- Django 1.7 upgrade error: AppRegistryNotReady: Models aren't loaded yet
2👍
For the third question, you can get the list of available modules from the interpreter prompt:
>>> help()
help> modules
This will (eventually) give you a list of available modules.
For other info, you can use the sys
module:
import sys
sys.version # Python version
sys.platform # platform
- Is there a way to render a html page without view model?
- How to assign to a Django PointField model attribute?
- Django unique together constraint failure?
- TypeError: cannot unpack non-iterable int object in Django views function
2👍
python manage.py runserver
Output:
Validating models…
0 errors found
February 27, 2015 – 14:25:41
Django version 1.6.5, using settings …
….
👤Octo
- TypeError: cannot unpack non-iterable int object in Django views function
- What is query.clone(), queryset.clone() for in django?
- Why django uses a comma as decimal separator
Source:stackexchange.com