https://medium.com/django-rest/django-rest-framework-login-and-register-user-fd91cf6029d5
Just visit on and read out
On Fri, Nov 11, 2022 at 10:48 AM Pooja Kumari
wrote:
> I tried many ways but nothing works.
> Sorry this code is messed up but hope you get some idea what I'm trying to
> do.
>
you don't show many to many field in list_display on admin panel
On Thu, Nov 17, 2022 at 7:51 PM Sagar Singh
wrote:
> i created three model relation table
>
> onetoone()
> manytoone(foreignkey)
> manytomanyfield()
>
> i try to show data of manytpmany field on admin panel but they give error
>
>
Thanks man.
On Mon, Nov 21, 2022, 00:50 Lakshyaraj Dash
wrote:
> class Room(models.Model):
>...
>is_private = models.BooleanField(default=False)
>
> In views.py
> def chat_room(request):
> if room.is_private:
>return redirect ("/")
> else:
>...
>
> On Mon, Nov 21,
Use Win Key + prt SC
To screenshot of you are using windows 10 OS
On Mon, Nov 21, 2022, 14:55 Chukwudi Onwusa wrote:
> Your screenshots are not clear enough.
>
> On Thu, Nov 17, 2022, 15:21 Sagar Singh wrote:
>
>> i created three model relation table
>>
>> onetoone()
>> manytoone(foreignkey)
>>
Your screenshots are not clear enough.
On Thu, Nov 17, 2022, 15:21 Sagar Singh wrote:
> i created three model relation table
>
> onetoone()
> manytoone(foreignkey)
> manytomanyfield()
>
> i try to show data of manytpmany field on admin panel but they give error
>
> 'type' object is not subscript
I need to access an *existing database whose schema I cannot alter*; I used
the Django tool to extract the tables to create models.py, which worked
great, and I already hacked some model definitions, e.g. to replace a
simple IntegerField with a ForeignKey. But there are specific tables, where
Try onetomany relationship
On Thu, Nov 17, 2022, 19:51 Sagar Singh wrote:
> i created three model relation table
>
> onetoone()
> manytoone(foreignkey)
> manytomanyfield()
>
> i try to show data of manytpmany field on admin panel but they give error
>
> 'type' object is not subscriptable
>
> --
Hey so I solved that problem by deleting all the migrations then migrating
again to apply changes. now I just need to figure out how to configure the
rest of the app to my needs. Do any of you know any up to date repos I
could take a look at?
On Saturday, 12 November 2022 at 15:31:31 UTC-8 ja
Hey so i'm a new dev looking into utilizing Oscar but a lot of things in
the doc aren't clear to me if anyone would be willing to just show me an
example project I'd be fine with just that
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To uns
Hello Leslie,
I am know many things in django oscar. Please ask if yoz have questions.
Regards
Leslie Taffe schrieb am Di., 22. Nov. 2022, 00:30:
> Hey so i'm a new dev looking into utilizing Oscar but a lot of things in
> the doc aren't clear to me if anyone would be willing to just show me a
Here are sanbox project with i have start
https://github.com/django-oscar/django-oscar/tree/master/sandbox
Good luck. On beginning absolut chaos because many things are not so as you
know. For example show in apps.py this is absokut different as i know with
urls.py. Or that models.py connects to
My Django log is full of these errors ...
ERROR
/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py
TIME: 2022-09-28 00:13:17,204 MSG:
exception.py:response_for_exception:99 Invalid HTTP_HOST header:
'111.222.333.444'. You may need to add '111.222.333.444' to ALLOWED_HOS
Put only domain names in allowed hosts
On Tue, Nov 22, 2022, 06:22 Mike Dewhirst wrote:
> My Django log is full of these errors ...
>
> ERROR
> /usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py
> TIME: 2022-09-28 00:13:17,204 MSG: exception.py:response_for_exception:99
>
Hey I took a look at the sample project and I'm already familiar with it
what I need is some more examples of how to add apps to the dashboard
config file ive read the docs a lot I'm just not clear on how to implement
it
On Mon, Nov 21, 2022, 6:39 PM Sebastian Jung
wrote:
> Hello Leslie,
>
> I a
On 22/11/2022 11:54 am, Lakshyaraj Dash wrote:
Put only domain names in allowed hosts
Thank you - that makes me feel better.
Can you tell me why the error is appearing? Is it some sort of hacking
attempt?
On Tue, Nov 22, 2022, 06:22 Mike Dewhirst wrote:
My Django log is full of the
No,
Actually some ip addresses don't allow access to them directly. So you have
to do it with a domain name.
On Tue, Nov 22, 2022, 06:41 Mike Dewhirst wrote:
> On 22/11/2022 11:54 am, Lakshyaraj Dash wrote:
>
> Put only domain names in allowed hosts
>
>
> Thank you - that makes me feel better.
>
Hey,
I implement my needs not directly in oscar dashboard. I implement it my
views in my normal frontend views then make new Dashboard menu entry in
settings.py and from my view a button back to dashboard if i am staff
user...
Regards
Leslie Taffe schrieb am Di., 22. Nov. 2022, 02:03:
> Hey I
17 matches
Mail list logo