> Yes send message to my account
--
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 view this discussion on the web
Thanks a lot to Makan Dianka and everyone who replied to my question. Your
help was greatly appreciated. I was able to solve the problem using Makan
Dianka's solution.
On Friday, June 16, 2023 at 9:00:20 AM UTC+5:30 Makan Dianka wrote:
> It is :
>
> STATICFILES_DIRS=[
> .
> ]
>
> Not
It is :
STATICFILES_DIRS=[
.
]
Not :
STATICFILES_DIR=[
.
]
Just add S in the end of DIR like DIRS and make sur u create static folder
in your project root.
Le jeu. 15 juin 2023 à 16:52, Ngaga Dancan a
écrit :
> Use load static first before you use extends
>
>
> On Thu,
Use load static first before you use extends
On Thu, Jun 15, 2023, 16:52 Prosper Lekia wrote:
> Where is the Python.png located?
>
> From your code, it should be directly in your static folder not a
> subfolder. So verify your file structure first. If every is in order,
> confirm if whitenoise
According to your settings, the `Python.png` file should be inside `static`
on the same level as `manage.py`.
|---static /
|-- Python.png
|--manage.py
|--
The file structure of almost that kind. If you're in development and this
is a practice thing, you don't need `whitenoise` just yet.
Where is the Python.png located?
>From your code, it should be directly in your static folder not a
subfolder. So verify your file structure first. If every is in order,
confirm if whitenoise is installed, and been added to your MiddleWare.
On Thu, Jun 15, 2023, 14:33 Aspersh Upadhyay <
my settings.py
STATIC_URL = 'static/'
STATICFILES_DIR = [
BASE_DIR / "static"
]
Template where I am trying to load static files
{% extends 'base.html' %}
{% load static %}
{% block title %}
Issue With Django static files
{%endblock title %}
{% block body %}
--
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 view this discussion on the web visit
Dear Sencer:
>>>>>>
>>>>>>
>>>>>>> index
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>-
>>>>>>
>>>>>> There is no problem with
t;>> There is no problem with writing this wayI don't understand
>>>>>why.
>>>>>
>>>>>
>>>>> Thank You
>>>>>
>>>>> Sencer Hamarat 于2020年7月1日周三 下午5:13写道:
>>>>>
>>>>>
e "D:\pythonwork\blog\personBlog\blog\views\index.py", line 25, in
>>>>> get
>>>>> return render(request,'index.html',locals())
>>>>>
>>>>> According to this line in that error seems to have occurred while
>>>>>
ng.
>>>> There is at least one "+" operation in "index.html" or "local()" method
>>>> call.
>>>> You have to check data types where the "+" operator used.
>>>> And also according to the error itself,
t value is not a
>>> string.
>>> I think the "ModelBase" model has no '__str__'.
>>>
>>> Saygılarımla,
>>> Sencer HAMARAT
>>>
>>>
>>>
>>> On Wed, Jul 1, 2020 at 12:04 PM oba stephen
>
that value is not a
>> string.
>> I think the "ModelBase" model has no '__str__'.
>>
>> Saygılarımla,
>> Sencer HAMARAT
>>
>>
>>
>> On Wed, Jul 1, 2020 at 12:04 PM oba stephen
>> wrote:
>>
>>> The Error is straight
ight forward, you are using an operand "+" for two two
>> data types that it can't be used on. This might be from your "volume"
>> function.
>>
>> On Wed, Jul 1, 2020 at 9:30 AM Hella Nick wrote:
>>
>>> Can someone help me??
>>>
&
phen wrote:
> The Error is straight forward, you are using an operand "+" for two two
> data types that it can't be used on. This might be from your "volume"
> function.
>
> On Wed, Jul 1, 2020 at 9:30 AM Hella Nick wrote:
>
>> Can someone help me?
The Error is straight forward, you are using an operand "+" for two two
data types that it can't be used on. This might be from your "volume"
function.
On Wed, Jul 1, 2020 at 9:30 AM Hella Nick wrote:
> Can someone help me??
>
>
> My project catalogue:
&
Can someone help me??
My project catalogue:
My setttings:
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR, 'blog/templates/')]
,
'APP_DIRS': True,
'OPTIONS
Hi,
Use request.user instead of self.user.
You're getting the error because SellerDashboard class has no attribute
called user. The user object you need is stored as user attribute in the
request parameter sent with get().
Regards,
Aditya
On Sunday, September 25, 2016 at 5:01:43 PM UTC+5:30,
Hi,
Following is the link and kindly assist as I've been trying to do this for
hours now.
http://stackoverflow.com/questions/39685833/django-filter-with-foreignkey-not-working?noredirect=1#comment66671635_39685833
Regards,
Shazia
--
You received this message because you are subscribed to the
Question
-
http://stackoverflow.com/questions/36023158/how-to-change-the-name-of-db-column-last-login-created-by-custom-django-user
--
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
using one url would be:
url(r'''^narrow_category/(?P\d+)/(?P\w*)'''
r'(?:\/(?P\d+))?'
r'(?:\/(?P\d+))?'
r'(?:\/(?P\d+))?$',
'catalog.views.narrow_category', name="narrow_category"),
second_digit, third_digit and fourth_digit parameters would be optional,
and your view would look
NoReverseMatch: Reverse for 'narrow_category' with arguments '(9L, u'pro
contact', u'', u'', u'')' and keyword arguments '{}' not found.
url(r'^narrow_category/(\d+)/(\w*)/(\d*)/(\d*)/(\d*)/$',
'catalog.views.narrow_category', name="narrow_category"),
url(r'^narrow_category/(\d+)/(\w+)/$',
23 matches
Mail list logo