My main aim is to run separate instances of the django.admin and drf API
On Sun, Mar 1, 2020, 04:23 Stephen J. Butler
wrote:
> I think so. Haven't tested, one way should be be to have have two
> url.py's, one that includes only the admin URLs and one that includes only
> your project URLs. Then
Try using pymysql... Add the following in your project root __init__.py ie.
`import pymysql
pymysql.version_info = (1, 3, 13, "final", 0)
pymysql. install_as_MySQLdb() `
On Sun, Mar 1, 2020, 07:34 karthik s wrote:
> Hi cam,
> well I solved same problem by removing virtual environment and
> rein
Hi cam,
well I solved same problem by removing virtual environment and reinstalling
all the packages again.
it worked for me then, I have now access to mysql database ..
afterthat you have python 2.xx version pip install
otherwise python3.xx version pip3 install
On Sun, Mar 1, 2020 at 1:51 AM C
I think so. Haven't tested, one way should be be to have have two url.py's,
one that includes only the admin URLs and one that includes only your
project URLs. Then have two settings modules that look like this:
# main site settings
from .settings import *
ROOT_URLCONF = 'myproject.urls_main'
#
Hello django users is there a way i can run django-admin separately from
the main site like separate instances..any help will be appreciated
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving
I'm running Ubuntu and I'm trying to create a small web-app connecting to a
mysql database. (I've also tried sql-server database and had the same issue)
It took me awhile the first time I did this but I was able to get it to
work using
'ENGINE': 'mysql.connector.django',
This time around I'm
Hi All,
Can someone kindly guide me to right direction I am new to Django and I've
been trying whole day for this now.
Question is posted on Stackoverflow with link below.
https://stackoverflow.com/questions/60468474/multiple-django-onetoone-modelform-validation-in-single-create-view
Regards,
Hi Bernd,
You could take a look at serializers section on Note part, for more
information, and may be your own answer.
http://docs.celeryproject.org/en/master/userguide/calling.html#calling-serializers
On Sat, Feb 29, 2020, 23:56 Naveen Arora wrote:
> Yes that would work well. You can alwa
>
> Why are you trying to create the same table again and again with more or
> less attributes ?
I do not try to RE-create the table but to alter the existing one.
Sometimes following the pure pythonic way may limits what framework can do.
But it does not mean that somewhere in the universe of
This is not extending but inheritance. It will create a new table. I need
to alter the existing table.
On Friday, February 28, 2020 at 8:27:26 PM UTC+2, Motaz Hejaze wrote:
>
> You should understand that extending a model will create a new table with
> columns existed in parent in addition to ne
Yes that would work well. You can always find a completely different way of
achieving what you are trying to achieve.
On Saturday, 29 February 2020 18:52:24 UTC+5:30, Jason wrote:
>
> As said before, you really can't do that too well with celery. Its a good
> practice to keep the message body b
Hi again,
According to what i have understood the problem till now. You are trying to
implement it the wrong way. This is not python, Everything is already built
using classes, you are already overriding a class, then extending an
overriden class seems complicated. Modularity and loose coupling
Can you share the traceback of error you are facing ?
Cheers,
On Saturday, 29 February 2020 11:17:59 UTC+5:30, Tosin Ayoola wrote:
>
> halo having 2 issues now
> (1st) getting an integrity err
> (2nd) i have a api code that return's count but still i'm not getting wat
> i expected
> below is
Hi Devendra ,
Can you share the code with the exact error you are facing.?
Cheers,
Naveen Arora
On Saturday, 29 February 2020 04:35:02 UTC+5:30, Devendra reddy wrote:
>
> Hi to all,
>
> I have two data frames in the python django API.one dataframe we are
> getting from the query and one data f
Some days ago I worked with Confluence.
This tool has a great feature: You can insert a paginated queryset in a
page. Without coding, all WYSIWYG:
Docs:
https://confluence.atlassian.com/doc/page-properties-report-macro-186089616.html
Is there a way to get this cool feature into django?
Regard
As said before, you really can't do that too well with celery. Its a good
practice to keep the message body between django -> broker -> worker to be
as small as possible because we don't know what your configuration for the
broker is. In addition, you should never, ever, put sensitive informat
good morning am also interested in joining the class
On Thursday, February 27, 2020 at 8:34:12 AM UTC-8, Ol P wrote:
>
> Imagen we have *app-A* and *app-B* with *model-A* and *model-B*
> accordingly.
> And we want to extend *model-A* in *app-B*.
> What should be written in *model-B* to implement
store image and documents in aws bucket or Google stroage
On Sat, 29 Feb 2020, 10:25 Naveen Arora, wrote:
> Try implementing it for once. If you face any problem, you can post in
> this community
>
> Regards
>
> --
> You received this message because you are subscribed to the Google Groups
> "Dj
Okay, sure.
Thank you for your response.
On Sat 29 Feb, 2020, 11:33 AM Naveen Arora,
wrote:
> Hi
>
> have a look at this -
> https://github.com/codingforentrepreneurs/Guides/blob/master/all/Heroku_Django_Deployment_Guide.md
>
> Cheers
>
> --
> You received this message because you are subscribe
19 matches
Mail list logo