Is it possible for you to attach a screenshot of your models.py file if you
don't mind?
On Saturday, October 12, 2019 at 5:20:30 PM UTC+3, Kivai Muinde wrote:
>
> I have two model classes, *school* and *profile*.
> The school model contains a field called school_level which has several
> choi
1) apply the python manage. py migrate --fake
2) python manage. py makemigrations and after apply the migrate
On Sat, 12 Oct, 2019, 7:50 PM Kivai Muinde, wrote:
> I have two model classes, *school* and *profile*.
> The school model contains a field called school_level which has several
> choi
Due to nested object its giving error when passed to serializer , but i
will try this.
On Friday, October 11, 2019 at 7:29:26 PM UTC+5:30, gaurav jain wrote:
>
> You can not modify the request.data object.
> You can save it in a different variable and use that
> Regards
> Gaurav Jain
> crazcu...@
In URL('empty')
Convert it into
URL(r^'$',your view)
On Sat, 12 Oct 2019, 8:06 pm lemme smash, wrote:
> why you have type="button" on anchor?)
>
> On Saturday, October 12, 2019 at 7:07:48 AM UTC+3, narendra thapa wrote:
>>
>> i have two template load_page.html and ask_questions.html while i am
>
why you have type="button" on anchor?)
On Saturday, October 12, 2019 at 7:07:48 AM UTC+3, narendra thapa wrote:
>
> i have two template load_page.html and ask_questions.html while i am
> linking a ask_questions.html through load_page.html via a anchor tag i am
> not getting ask_questions.html bu
go
^^)
On Friday, October 11, 2019 at 8:39:33 PM UTC+3, Uzama Zaid Mohammed Jaward
wrote:
>
> Hi all
>
> What are the tech stack is good for micro service architecture in Django
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe
I have two model classes, *school* and *profile*.
The school model contains a field called school_level which has several
choices( primary, secondary , college,university).
The profile models has four differnt fields (school_primary, school_secondary,
school_college,school_university) each i
To fully implement microservices you need django apis behind a proxy or
load balancer or another api which can route request from nginx or kong to
your backend microservices. Each microservice can be in docker container
and all of it running on kubernetes. Frontend can be either angular, vue or
rea
Microservice embraces unix philosophy: "do one thing and do it well".
So you should define Django app that follows that principle.
You then wrap that Django app to be accessed behind Nginx or Apache that
exposes port 80 to be accessed by other micorservices/clients.
That nginx+django bundle can be
I've found the solution (if anyone ever will be in need).
There are 2 situations:
1. Development.
For development this problem can be solved using static function.
Import it in your app's urls.py:
from django.conf.urls.static import static
Then use it there after the urlpatterns list:
if settings.D
This is a good question , i dont know why no body answered it !!
On Fri, 11 Oct 2019, 7:38 pm Uzama Zaid Mohammed Jaward, <
uzamajaw...@gmail.com> wrote:
> Hi all
>
> What are the tech stack is good for micro service architecture in Django
>
> --
> You received this message because you are subscr
On 12/10/2019 6:05 pm, Tumbelo wrote:
Hi,
I need to store some third party server passwords in Django, in
views.py to be more specific. Those are used for Paramiko SFTP
(machine-to-machine communication) and it's not possible to use keys
instead of passwords. For sure I don't like to write th
Not sure what you mean by "overwrite" - there are lots of ways to extend or
customise Django admin, not the least of which is retheming it e.g. Django
Suite or Grappelli.
On Wednesday, 9 October 2019 10:11:27 UTC+2, Jérôme Le Carrou wrote:
>
> I am newbie in DJango
> I've started to read Djang
Hi
I have also been working with Django for many, many years. All of our apps
have been based around the many features/options already built-in to the
admin and it works perfectly "as is". There is really a lot you can do
with it if your users are accustomed to working with more traditional
Hi there,
Thank you for your answer, which is correct!
Much appreciated.
On Saturday, October 12, 2019 at 5:16:43 AM UTC+1, WD Wang wrote:
>
> hi,
>
> export DJANGO_DEBUG=False
> This is a shell command, you shouldn't add this to your settings.py.
>
> On Fri, Oct 11, 2019 at 9:51 PM fishbite >
Thank you Daniel, that's a great help. I sat looking at the tutorial
thinking to myself that it didn't explicitly say that line should be put
into the settings file, but on the other hand, it didn't say that it
shohuld be entered at the prompt either!
Thanks again, it is much appreciated.
On F
Hi,
I need to store some third party server passwords in Django, in views.py to
be more specific. Those are used for Paramiko SFTP (machine-to-machine
communication) and it's not possible to use keys instead of passwords. For
sure I don't like to write those passwords directly to source code. I
*@ Jani *- Tried the same no reaction in page.
Please find the att (test.xlsx).
*Regards,*
*Yasar Arafath K*
On Saturday, October 12, 2019 at 6:39:30 AM UTC+8, Jani Tiainen wrote:
>
> Hi.
>
> As you see Django indeed found your static file.
>
> Next step is to open up developer tools in bro
18 matches
Mail list logo