I get error :
ValueError: Enter a valid duration.
When i'm importing excel file - i'm using postgresql
my models.py
An Series class - for describe series in the system
"""
id = models.CharField(max_length=20)
program = models.CharField(max_length=100)
tape = models.CharField(max_length=100)
d
python manage.py runserver
Traceback (most recent call last):
File "manage.py", line 22, in
execute_from_command_line(sys.argv)
File
"/var/www/project/venv/lib/python3.5/site-packages/django/core/management/__init__.py",
line 363, in execute_from_command_line
utility.execute()
Fil
I'm trying to import view in my url in base project but i can't
File "/var/www/project/venvs/lib64/python3.6/importlib/__init__.py", line
126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 978, in _gcd_import
File "", line 961, in _find_and_l
Hi all;
I have a problem when edit my form ... my page doesn't update
models.py
class Hard_number(models.Model):
hard = (
('SD1', 'SDD1'),
('SD2', 'SDD2'),
('SD3', 'SDD3'),
('SD4', 'SDD4'),
('SD5', 'SDD5'),
('SD6', 'SDD6'),
('SD7', 'SDD7'
Dear all ,
I've error when accesses in admin page :
'admin_static' is not a registered tag library. Must be one of:
admin_list
admin_modify
admin_urls
cache
django_ajax_tags
i18n
import_export_tags
l10n
log
static
tags
tz
--
You received this message because you are subscribed to the Google Grou
Dear all
I can't do the test -error is
self.assertEqual(response.status_code, 200)
AssertionError: 404 != 200
My code is
views.py
class DetailPageView(DetailView):
model = Series
template_name='/var/www/project/tapelss/movies/archive/templates/archive/detail.html'
urls.py
app_name =
6 matches
Mail list logo