Hey,
You can just add channels to an existing Django project and only use it for
the bits you need it for - even down to running two different servers for
that project, one normal WSGI one and one ASGI one to let you do async
things.
You shouldn't migrate any existing code to channels - just add
I know visual studio and visual studio code are different.
I mean the main visual studio.
. How to set up the page admin.py
How to make it appear?
در دوشنبه 5 نوامبر 2018، ساعت 12:14:47 (UTC-8)، Holger Otto ANDRé نوشته:
>
> I don't get what you mean by admin page.
> BTW don't get confused
> 1)
what do you want to do exactly ?
On Mon, Nov 5, 2018 at 8:01 PM Saeed Pooladzadeh
wrote:
> Hello,
>
> Can anyone help me how to start the admin page in visual studio.
> I have tried many methods but none succeeded.
>
> thanks
>
> Saeed
>
> --
> You received this message because you are subscribe
I don't get what you mean by admin page.
BTW don't get confused
1) Visual Studio 2017 (what I uses for Python projects)
2) Visual Studio Code ( an very versatile editor from MS as well)
Both can be used for Python development.
*Holger André*
Skype: hjoab1
Mobile/Whatsapp/Telegram : +(506) 8883
Did You use the terminal in visual studio?
Verstuurd vanaf mijn iPhone
> Op 5 nov. 2018 om 20:25 heeft Arturo Fernandez het
> volgende geschreven:
>
> Helloo, visual studio is just an editor.
>
> Here is the tutorial that I started with
> https://www.youtube.com/watch?v=UmljXZIypDc&index=1&
Helloo, visual studio is just an editor.
Here is the tutorial that I started with
https://www.youtube.com/watch?v=UmljXZIypDc&index=1&list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p
and here is my blog, I have a lot about Visual studio code to get you
started: blog.arturofm.com
Hope it helps :)
On
Hi,
have to try to convert the QueryDict to dictionary?
then try to get the keys as list.
>>> qdict
>>> qdict.dict()
{u'allergies[0][date]': [''], u'allergies[1][date]': [''],
u'allergies[0][subst]': ['nsaid'], u'allergies[1][subst]': ['alcohol']}
>>> qdict.dict().keys()
[u'allergies[0][date]',
Hello,
Can anyone help me how to start the admin page in visual studio.
I have tried many methods but none succeeded.
thanks
Saeed
--
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 i
fields = ['a', 'b', 'c']
readonly_fields = ['a', 'b']
A and b will appear before c.
On Mon, 5 Nov, 2018, 8:03 PM Karol Ołtarzewski <2004ka...@gmail.com wrote:
> I want to place normal fields below readonly_fields
>
>
> On Mon, 5 Nov 2018 at 07:08, Joel wrote:
>
>> Explain. What do you mean move
I want to place normal fields below readonly_fields
On Mon, 5 Nov 2018 at 07:08, Joel wrote:
> Explain. What do you mean move on top of page?
>
> On Mon, 5 Nov, 2018, 2:46 AM Karol Ołtarzewski <2004ka...@gmail.com wrote:
>
>> Good morning guys.
>>
>> I have a problem namely:
>> I have to place
I hear good things about Django Girls (https://djangogirls.org/).
On Sunday, November 4, 2018 at 8:52:38 AM UTC-5, Expo Tor wrote:
>
> Anyone can recommend any online virtual groups for Django? I mean it
> should be sth more than online tutorials - where users can come in
> real-time with the
also, you can check out python developers slack at
https://pyslackers.com/slack/
--
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 django-users+unsubscr...@googl
I am not sure you understood. I am doing testing, and this is a model that is
only for tests. I am attempting to achieve the test-only models solution
outlined here:
https://code.djangoproject.com/ticket/7835#comment:24
Also outlined in the first paragraph of this accepted answer on stack ove
I'm not sure you understood the question.
From: "amit pant"
To: "django-users"
Sent: Monday, November 5, 2018 2:24:51 AM
Subject: Re: Cannot get Django test migrations to detect test models.py
can you register your model in admin.py?
If not then go for it.
On Sun 4 Nov, 2018, 12:10 AM
Hi,
Have a look at the "migrate.py inspectdb" command documentation
(https://docs.djangoproject.com/fr/2.1/ref/django-admin/#inspectdb).
This command generates the models for tables in an existing DB. To avoid
messing with the existing data, these models are declared as non managed, which
me
I have a one database (postgre). Same database currently using by one java
application another one is php. But I want to create rest services through
python django. Could you please guide me how to start. Actually I'm
confused model creation, it's needed to create model or we can write direct
s
Override fields and add readonly_fields first.
On Mon, 5 Nov, 2018, 11:38 AM Joel Explain. What do you mean move on top of page?
>
> On Mon, 5 Nov, 2018, 2:46 AM Karol Ołtarzewski <2004ka...@gmail.com wrote:
>
>> Good morning guys.
>>
>> I have a problem namely:
>> I have to place readonly_fields
Yes, this works for me.
Make sure
super(AddLabForm, self).__init__(*args, **kwargs)
fields_keyOrder = ['id', 'date', 'start_time', 'end_time']
if 'keyOrder' in self.fields:
self.fields.keyOrder = fields_keyOrder
else:
self.fields = OrderedDict((k, self.f
Hello Im having some issues trying to pass an id through a modal. Basically
I want to pass an id through a modal, via urls.py and to hit a function in
the views to delete the user.
This is my modal:
Much appreciated for any help. Fairly new to Django. Really hope someone
can come to my rescue :
Is it possible to read serialized data from javascript without encoding to json?
The data received by request.POST is:
Sincerely yours,
Joel G Mathew
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop re
According to my knowledge both are different framework so you need to
implement again.
On Sat 3 Nov, 2018, 6:09 PM oganga chantal, wrote:
> Hi,
> i have a front end in django and the back end in flask.
> i need help in combining the two
>
> --
> You received this message because you are subscrib
can you register your model in admin.py?
If not then go for it.
On Sun 4 Nov, 2018, 12:10 AM , wrote:
> Hi folks, I'm trying to build a test suite for a django plugin for a
> field. To test the field I need to have a test model, but since my django
> app does not provide models, and I have the m
Yeah. If you define read only fields in django model admin it places the
read only fields after non-readonly fields by default in the change view
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving
23 matches
Mail list logo