a\Anaconda3\lib\site-packages\django\db\models\fields\__init__.py"
in get_prep_value
965. return int(value)
Exception Type: ValueError at /admin/
Exception Value: invalid literal for int() with base 10: 'admin'
--
You received this message because you are subscribed to the Goog
; File
> "C:\ProgramData\Anaconda3\lib\site-packages\django\db\models\lookups.py" in
> get_prep_lookup
> 70. return self.lhs.output_field.get_prep_value(self.rhs)
>
> File
> "C:\ProgramData\Anaconda3\lib\site-packages\django\db\models\fields\__init__.py&q
t; "C:\ProgramData\Anaconda3\lib\site-packages\django\db\models\sql\query.py"
>> in build_lookup
>> 1096. lookup = lookup_class(lhs, rhs)
>>
>> File
>> "C:\ProgramData\Anaconda3\lib\site-packages\django\db\models\lookups.py" in
>> _
"
>>> in add_q
>>> 1263. clause, _ = self._add_q(q_object, self.used_aliases)
>>>
>>> File
>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\db\models\sql\query.py"
>>> in _add_q
>>> 1287. split_subq=spl
t; File
>>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\db\models\query.py" in
>>>> _filter_or_exclude
>>>> 862. clone.query.add_q(Q(*args, **kwargs))
>>>>
>>>> File
>>>> "C:\ProgramDat
I guess it's Django 2.2?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-u
Your problem is, in url you are passing id to detailview, but in views.py
you have done anything with that...
Check this again.
On Wed, 26 Jun, 2019, 4:01 AM onyilimba martins mclaren tochukwu, <
tochimcla...@gmail.com> wrote:
> I guess it's Django 2.2?
>
> --
> You received this message because
t; 1287. split_subq=split_subq,
>>>
>>> File
>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\db\models\sql\query.py"
>>> in build_filter
>>> 1225. condition = self.build_lookup(lookups, col, value)
>>
\Anaconda3\lib\site-packages\django\db\models\query.py" in
>>>> _filter_or_exclude
>>>> 862. clone.query.add_q(Q(*args, **kwargs))
>>>>
>>>> File
>>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\db\models\sql\query.py&
9 matches
Mail list logo