This worked with Django 2.1. Seems to be a bug in 2.2
Axel
> Am 08.06.2019 um 21:50 schrieb Axel Rau :
>
> The database user sets a search_path to a,b
> In schema b exists a set of tables corresponding to models and
> inital_migration.
> Running
> migrate --fake-initial app inital_migratio
Stuck. If anyone has ideas that would be brilliant.
Django 2.2, running on Ubuntu 18.04 in a venv
$ python manage.py runserver
Exception in thread django-main-thread:
Traceback (most recent call last):
File
"/home/jonty/.virtualenvs/tdj_playground/lib/python3.6/site-packages/django/template/ut
Hi,
Being fairly new to DRF, I'm just wondering on the best ways of going about
stucturing an api which has man endpoints.
Basically is there a good reason not to put different categories of
endpoints together in different apps, like the ones for user data, ones for
app data etc.
And then how
Hi Guys,
While installing mysqlclient using pip, getting this error
VS C++ Build tool was installed in system and updated the setup tools,
still getting this issue..
Any solution for this ?
My Environment :
OS : Windows 10
Python : 3.7
Django : 2.2
DB : MariaDB 10.2
--
You received this mess
I have two models and a ForeignKey. In this project I'm still using django
1.11 (still busy migrating to python3) but I have reproduced this in django
2.2.2
Models are Call and Client. Call has a ForeignKey to a PositiveIntegerField
on Client. I'm changing the type of this field to a CharField,
Hi. I'm using Django channels in server side for a speech to text
application. When I test websocket with jmeter(+120 user or thread in 1
second), about half of requests fail. Here is my code:
class Consumer(AsyncWebsocketConsumer):
def __init__(self, *args, **kwargs):
su
Omar,
You need to put the image in your 'static' files directory.
On Monday, June 10, 2019 at 2:37:58 PM UTC-5, omar ahmed wrote:
>
> almost i did all of these instructions
> collectstatic - DEBUG = True - install and use whitenoise in my app
> the problem is heroku is ephemeral ( that's
Hi,
MySQL client is not available for Django 2.2 and newer version.
You can uninstall 2.2 and download older Django version 2.0 for the
database connection.
Thanks
Desh Deepak
+917011101001
On Tue, 11 Jun 2019, 19:37 Raja Sekar Sampath, wrote:
> Hi Guys,
>
> While installing mysqlclient using
Hi Deepak,
Thanks for reply.,
Is there any alternative for that ?
I didn't want to downgrade the django
On Tuesday, 11 June 2019 21:02:23 UTC+5:30, Desh Deepak wrote:
>
> Hi,
> MySQL client is not available for Django 2.2 and newer version.
> You can uninstall 2.2 and download older Django ve
Hi,
The way we have structured our application is that we have our models and
serializers in different apps, but have one app for the api itself. So all
of the urls are in the "api/urls.py" file.
We have found that this works great for us.
However we don't use routers - instead we just use DRF c
I have Django 2.2.x running with mysqlclient successfully
mysql-connector-python==8.0.15
mysqlclient==1.3.13
--
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 dja
Hi!
Have you instanced first de form?
Maybe this code from djano help you
from django.http import HttpResponseRedirectfrom django.shortcuts import render
from .forms import NameForm
def get_name(request):
# if this is a POST request we need to process the form data
if request.method == 'PO
Do you have a venv running in another venv?
You could try installing and running gdb
https://wiki.python.org/moin/DebuggingWithGdb
It may give you more insight. But Deadlocking is essentially one python process
clobbering another causing the app to lock up.
--
You received this message beca
Had same issue setting up my current Project,
But my workaround after so much effort was this:
1. Install Visual Build Tools
2. Install the Required MySQL C++ Connector (Better still download MySQL
Setup with Workbench and install not Xampp or Wamp)
3. Uninstall Python and use the Web Installe
the method of James works perfectly. I have been using the same with my
Django project.
On Tue, Jun 11, 2019 at 9:25 PM James Farris wrote:
> I have Django 2.2.x running with mysqlclient successfully
>
> mysql-connector-python==8.0.15
> mysqlclient==1.3.13
>
> --
> You received this message beca
He is saying these aren’t static files. It sounds like he uploads them using
the Django admin, which of course is like an end user on a client uploading
files to the media directory.
Since that is the case it sounds like the Dropbox option is the best.
Documentation was provided earlier. So be
If the database was originally created by Django, it would have been built with
an ID field. Django is confused because it can’t find that field in the
database. If you added ID to the model, did you run python manage.py
makemigrations and then python manage.py migrate
--
You received this mes
yes James you are right i need to upload images using the Django admin,
... how can i use Dropbox for this issue ?
i need a good tutorial
On Tuesday, June 11, 2019 at 6:14:10 PM UTC+2, James Farris wrote:
>
> He is saying these aren’t static files. It sounds like he uploads them
> using the
How u have done it
On Tue, 11 Jun 2019, 21:25 James Farris, wrote:
> I have Django 2.2.x running with mysqlclient successfully
>
> mysql-connector-python==8.0.15
> mysqlclient==1.3.13
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To
You might try the docs from Dropbox
https://www.dropbox.com/developers/documentation/python#overview
You can checkout this project for ideas
https://github.com/singingwolfboy/django-with-dropbox
and here is documentation for django-storages
https://django-storages.readthedocs.io/en/latest/backend
Yes I am already instantiated the form and check has_changed after.
On Tuesday, June 11, 2019 at 8:59:46 AM UTC-7, Gil Obradors wrote:
>
> Hi!
> Have you instanced first de form?
> Maybe this code from djano help you
>
> from django.http import HttpResponseRedirectfrom django.shortcuts import
> r
Hi All,
We are having two server.
In one server ,
- django runs with apache
- Weasyprint version 0.40
- PDF is rendered with CSS applied (path is in static folder)
In another server,
- django runs with runserver
- Weasyprint version 0.40
- PDF is rendered *WITHOUT* the CSS (p
Can you paste codes? Forms.py and views.py
El dc., 12 de juny 2019, 1:24, Mei B va escriure:
> Yes I am already instantiated the form and check has_changed after.
>
> On Tuesday, June 11, 2019 at 8:59:46 AM UTC-7, Gil Obradors wrote:
>>
>> Hi!
>> Have you instanced first de form?
>> Maybe this
Hi Emmanuel Simeon,
It would be great if you share the download link to Visual Build Tools
and MySQL
C++ Connector
On Tue, 11 Jun 2019 at 21:36, Emmanuel Simeon wrote:
> Had same issue setting up my current Project,
>
> But my workaround after so much effort was this:
>
> 1. Install Visual Bui
Here is good place to get started:
https://wsvincent.com/django-search/
You can then expand what has been shown here by adding extra UI-side
functions such as drop-down fields that will allow a user to refine what is
being searched for. (Maybe you can even write your own tutorial after you
hav
Hello Progress.
Just like how you fill out a form in the Admin site, you should also create
a form in your site.
On Mon, 10 Jun 2019, 12:18 Progress Onyema,
wrote:
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this
26 matches
Mail list logo