Re: Trying to render images from database

2023-03-07 Thread Red Plant
What's showing on the browser console? If you're using chrome, press F12 to open developer tools, then find the console tab. On Wed, Mar 8, 2023, 1:31 AM Michael Starr wrote: > Well, my privilege of posting "" on SO was revoked so I can't get my > questions answered anymore. So I guess I just w

Re: Ищу дистрибутив Django 3.0.2 \ Search distribution Django 3.0.2

2021-05-03 Thread Red Hat
Thank you very much. I've already figured it out. And found distributions for download. https://github.com/django/django/releases ср, 28 апр. 2021 г. в 20:48, Kasper Laudrup : > On 28/04/2021 13.43, Red Hat wrote: > > > > I had an extremely difficult problem. I have

Ищу дистрибутив Django 3.0.2 \ Search distribution Django 3.0.2

2021-04-28 Thread Red Hat
У меня возникла крайне сложная проблема. Я последние 5 месяцев крайне активно изучаю Python & Django. В связи с этим купил книгу. К книге прилагается учебный материал, который базируется на Django 3.0.2. Но я не знаю где можно скачать данный дистрибутив. Пожалуйста, помогите. Спасибо. =

Training course and/or job

2020-01-09 Thread red
Hello, I’m a 27 years old french guy and a Django beginner. I have a mechanical engineering and a computer science degree, but in web development specifically, I’m a self-learner. I really do love Django and would like to become a professional web backend developer, or possible full stack, since I

Re: Query regarding Jija templates with django project

2019-10-25 Thread red
ews.about, name='about'), path('blog', views.blog, name='blog'), ] Then, when you need to put a link to a another page in your template, use the following syntax: Home About Us Regards, Red On 25/10/2019 21:01, 'Amitesh Sahay' via Django users wrote: > H

Re: Django after migration UndefinedColumn error in production

2019-10-23 Thread red
Hi, Yes, it connects to the same database. I only have one accessible database in the production environment and the administration interface works fine for the other models I have, it crashes only when I try to access that specific model or when trying to access the website. Red. On 23/10/2019

Django after migration UndefinedColumn error in production

2019-10-22 Thread red
Hi everyone, I have a website in production. I have an app, with a model. It contained a markdown_file attribute: |markdown_file=models.FileField(upload_to='/media/')| But since the number of file is limited, I decided to make it a markdown_filename attribute with a choices selection box: |mar

Re: Django 2.2.6 fails to serve some static files in Windows 10

2019-10-04 Thread red sky
tubre de 2019, 23:13:19 (UTC+2), red sky escribió: > > Thank you, to Ajjet and Desh. > > That solution doesn't work. > > I keep getting the error: [03/Oct/2019 23:08:39] "GET > /static/css/styles.css HTTP/1.1" 404 1767 > > If I request the file "manua

Re: Django 2.2.6 fails to serve some static files in Windows 10

2019-10-03 Thread red sky
, 3 de octubre de 2019, 7:31:07 (UTC+2), Ajeet Kumar Gupt escribió: > > Hi, > > Use the below code > > href="{% static 'css/styles.css' %}" > > On Wed, Oct 2, 2019 at 8:06 PM red sky > > wrote: > >> My system: Windows 10 1903. Py

Bug? django fails to serve static files in Windows 10

2019-10-02 Thread red sky
my system: Windows 10 1903, Python 3.7.4, 64 bit My directory structure %USERPROFILE%/Desktop/myproject/manage.py %USERPROFILE%/Desktop/myproject/some_app/(...) %USERPROFILE%/Desktop/myproject/myproject/sqlite3.db %USERPROFILE%/Desktop/myproject/myproject/static (...) %USERPROFILE%/Desktop/myproj

Django 2.2.6 fails to serve some static files in Windows 10

2019-10-02 Thread red sky
My system: Windows 10 1903. Python 3.7.4, 64 bit. My directory structure: %USERPROFILE%/Desktop/myproject/manage.py %USERPROFILE%/Desktop/myproject/some_app (...) %USERPROFILE%/Desktop/myproject/myproject/db.sqlite3 %USERPROFILE%/Desktop/myproject/myproject/urls.py %USERPROFILE%/Desktop/myproject/

Re: Dajaxice and CSRF issues

2011-04-17 Thread Red
Hi, > At the point the first AJAX request is sent, the user doesn't have a validCSRF > token yet, since the user hasn't visited a Django page yet. .That's why a GET > may be preferable here. You could send the csrf token with the 1st page request via set- cookie: from django.middleware.csrf impo

Re: Dajaxice and CSRF issues

2011-04-17 Thread Red
Hi, I found this thread today as I have come across the same problem. I did find a solution that seems to work OK and I'd like to post it and get some feedback. I've built a standard user log in pretty much exactly the same as in the django docs. I now want to create a 2nd log in method that us