I'm in the process of upgrading a large Django project from 1.8 to 2.2.
Currently, I'm at 1.9.13. My project has a couple of admin forms that
utilize a Django CSS file admin/css/ie.css. In Django 1.8, that file was
located here:
django/contrib/admin/static/admin/css/ie.css
But in Django 1.9
I've discovered the problem. The release notes for Django 1.9 say, "The
admin no longer supports Internet Explorer 8 and below, as these browsers
have reached end-of-life." Thus, this file is no longer included in Django.
On Monday, June 17, 2019 at 12:00:08 PM UTC-7, Robert F.
Make sure you aren't blocking cookies on whatever device is giving you
problems. You'll get this error if you are blocking them.
On Tuesday, January 6, 2015 at 1:09:46 AM UTC-8, Sugita Shinsuke wrote:
>
> Hello.
>
> When I use Django via my smart phone Android and iOS.
> The error sometimes occu
Is there a Vim plugin that does code completion for Django? I'd like to be
able to type something like "foobar = models." and hit Tab and see a list
of classes like CharField or Foreign key. Alternately, I'd be OK with
entering an abbreviation that would bring up the proper code snippet. The
n easily become
complicated and confusing to a Django noob like me. I'm not really sure
what the optimal development environment setup should be.
On Friday, July 7, 2017 at 10:46:58 AM UTC-7, James Schneider wrote:
>
>
>
> On Jul 7, 2017 8:27 AM, "Robert F." >
> wrote:
>
I know this is an old topic but I completely agree with Frank. Nothing
gives me more headaches and makes me want to move off Django more than
migrations. They seldom run smoothly and cause me no end of headaches. I
hate them!
On Friday, November 20, 2015 at 2:26:59 PM UTC-8, Frank Malina wro
Does anyone have any strategies or techniques for running their unit tests
faster in Django 1.8? My project has seven model modules containing
twenty-one models (none of which are very complex). I run my tests using
the default Django test runner on a 1.86 GHz Mac laptop with 4 GB of RAM
agai
Are there any Django libraries that make extensive use of class-based views
that I might study if I want to gain an in-depth understanding of how to
use them? The Django documentation is OK at explaining what they are and
how they work but most of the examples are very trivial in nature. I'd lik
yond that supports more specific use cases that usually
> simplifies handling the request - i.e. templates - and each of those
> provides its own set of patterns.
>
> HTH,
> /d
>
>
> On 12 January 2021 at 02:15:11, Robert F. (robert@gmail.com) wrote:
>
> Are there
I am trying to programmatically set the model for a Django class-based view
that inherits from CreateView and displays a form for creating a 'member'
object. My problem is that my template is not displaying the form itself.
Note that I override the 'get' method to determine what model the view
I have a Django view that I redirect a user to after they login:
# settings.py
LOGIN_REDIRECT_URL = 'login-redirect'
# account/urls.py
urlpatterns = [
path('', include('django.contrib.auth.urls')),
...
]
# home/views.py
from account.models import Member
d
redirect') here after import
> django.urls, but - untested.
>
> Regards,
> David
>
> On 23 February 2021 at 07:07:52, Robert F (robe...@gmail.com) wrote:
>
> I have a Django view that I redirect a user to after they login:
>
> # settings.py
> LOGIN_REDIRECT_
I'm trying to understand how static files are served up by Django using a
project I've created on my Mac using Django 3, Gunicorn, and Nginx. The
website serves up templates correctly except that the templates can't see
my CSS stylesheet. When I go to a page, for example
```127.0.0.1:8000/app
Thanks but I'm not interested in using Whitenoise.
On Friday, February 21, 2020 at 6:22:40 AM UTC-8, Jody Fitzpatrick wrote:
>
> Take a look at whitenoise for django, this should help you.
>
> On Thursday, February 20, 2020 at 11:35:51 AM UTC-5, Robert F. wrote:
>>
>
On Thursday, February 20, 2020 at 8:52:31 AM UTC-8, Stephen J. Butler wrote:
>
> Django only serves up static files itself when run using runserver. This
> is meant for development and not production use. When you run it through
> gunicorn the Django framework won't serve up static files. That'
15 matches
Mail list logo