Re: can someone help me why my static files is not being rendered?

2023-06-17 Thread Mohammad Sadegh
> 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

Re: can someone help me why my static files is not being rendered?

2023-06-16 Thread Aspersh Upadhyay
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

Re: can someone help me why my static files is not being rendered?

2023-06-15 Thread Makan Dianka
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,

Re: can someone help me why my static files is not being rendered?

2023-06-15 Thread Ngaga Dancan
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

Re: can someone help me why my static files is not being rendered?

2023-06-15 Thread ALBERT ASHABA AHEEBWA
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.

Re: can someone help me why my static files is not being rendered?

2023-06-15 Thread Prosper Lekia
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 <

can someone help me why my static files is not being rendered?

2023-06-15 Thread 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 %}

hello everyone please can someone help me with my problem is very important please Environment: Request Method: GET Request URL: http://127.0.0.1:8000/user/ Django Version: 4.0.4 Python Version: 3

2022-04-30 Thread ray nkamwa
-- 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

Re: Can someone help me??

2020-07-02 Thread Hella Nick
Dear Sencer: >>>>>> >>>>>> >>>>>>> index >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>- >>>>>> >>>>>> There is no problem with

Re: Can someone help me??

2020-07-02 Thread oba stephen
t;>> There is no problem with writing this wayI don't understand >>>>>why. >>>>> >>>>> >>>>> Thank You >>>>> >>>>> Sencer Hamarat 于2020年7月1日周三 下午5:13写道: >>>>> >>>>>

Re: Can someone help me??

2020-07-02 Thread Mohammed Alnajdi
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 >>>>>

Re: Can someone help me??

2020-07-02 Thread Hella Nick
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,

Re: Can someone help me??

2020-07-02 Thread oba stephen
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 >

Re: Can someone help me??

2020-07-01 Thread Hella Nick
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

Re: Can someone help me??

2020-07-01 Thread Hella Nick
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?? >>> &

Re: Can someone help me??

2020-07-01 Thread Sencer Hamarat
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?

Re: Can someone help me??

2020-07-01 Thread oba stephen
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??

2020-07-01 Thread Hella Nick
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

Re: Can someone help me to fix ForeignKey related filter issues

2016-10-01 Thread Aditya Suman Maharana
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,

Can someone help me to fix ForeignKey related filter issues

2016-09-25 Thread Shazia Nusrat
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

Can someone help me with this Question posted on stack over flow?

2016-03-15 Thread Sanchit Balchandani
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

Re: Can someone help me with this error. No ReverseMatch

2013-04-10 Thread Chris Ramón
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

Can someone help me with this error. No ReverseMatch

2013-04-09 Thread frocco
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+)/$',