These are chat archives for django/django

Feb 2016
sumit sinha
Feb 24 2016 04:40
i need help on django
i have install django on my ubuntu
but i am unable to start my server
installing time i am able to use admin panal
and can anyone help me how to start new apps and how i will develop new project using django
if anyone have documents regarding developments so please share with me
Feb 24 2016 05:02
what error messages have you got? Have you add your ‘app’ in ISNTALL_APP element?
sumit sinha
Feb 24 2016 07:40
/home/sumit/Desktop/Screenshot from 2016-02-24 13-10-12.png
Feb 24 2016 08:03
use imgur for example to share screenshots
here for example:
upload, then share the url here
Feb 24 2016 08:52
@sumitsinha91 the best place to start
sumit sinha
Feb 24 2016 20:25
i need help
i am adding this Mobile Number = models.IntegerField(default=0)
but i am getting error
why ?
error= Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0xb65207c4>
Traceback (most recent call last):
File "/home/sumit/trydjango19/lib/python3.4/site-packages/django/utils/", line 226, in wrapper
fn(args, **kwargs)
File "/home/sumit/trydjango19/lib/python3.4/site-packages/django/core/management/commands/", line 109, in inner_run
File "/home/sumit/trydjango19/lib/python3.4/site-packages/django/utils/", line 249, in raise_last_exception
File "/home/sumit/trydjango19/lib/python3.4/site-packages/django/utils/", line 685, in reraise
raise value.with_traceback(tb)
File "/home/sumit/trydjango19/lib/python3.4/site-packages/django/utils/", line 226, in wrapper
fn(args, *kwargs)
File "/home/sumit/trydjango19/lib/python3.4/site-packages/django/", line 18, in setup
File "/home/sumit/trydjango19/lib/python3.4/site-packages/django/apps/", line 108, in populate
File "/home/sumit/trydjango19/lib/python3.4/site-packages/django/apps/", line 202, in import_models
self.models_module = import_module(models_module_name)
File "/home/sumit/trydjango19/lib/python3.4/importlib/", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1467, in exec_module
File "<frozen importlib._bootstrap>", line 1572, in get_code
File "<frozen importlib._bootstrap>", line 1532, in source_to_code
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/home/sumit/trydjango19/src/fetchrletter/", line 8
Mobile Number = models.MobileField()
help me
why i am geeting this error
Feb 24 2016 20:27
write variable name without spaces
Job Matheka
Feb 24 2016 20:31
Its good practice to do this mobile_number = models.IntegerField(default=0)
Feb 24 2016 20:33
"Phone numbers must be CharFields. Integer field will not preserve leading 0, +, and spacing."
Job Matheka
Feb 24 2016 20:37
@armicron is right you want char filed to sore the phone_number in its format maybe retrieve just the digits if you want to use it for something different
Aaron Kazah
Feb 24 2016 21:35
Quick questions guys, how would I go about iabout creating a featured list