Bro show me your file structure.
On Sun, 28 Feb 2021, 02:56 Kasper Laudrup, wrote:
> On 27/02/2021 12.19, Mayursinh Raulji wrote:
> >i have download template from google and try to load in Django with
> > static file but in browser not show properly. show only half template
> > but In my
https://docs.djangoproject.com/en/3.1/ref/models/instances/#django.db.models.Model
https://github.com/django/django/blob/64a0d1ef6e7a6739148996e9584bbb61fe3dcc60/django/db/models/base.py#L404
https://docs.djangoproject.com/en/3.1/ref/models/querysets/
https://github.com/django/django/blob/64a0d1e
On 27/02/2021 12.19, Mayursinh Raulji wrote:
i have download template from google and try to load in Django with
static file but in browser not show properly. show only half template
but In my friend PC this template working properly so what is problem
please tell me.
A few options:
hii i am mayursinh
i have download template from google and try to load in Django with
static file but in browser not show properly. show only half template but
In my friend PC this template working properly so what is problem please
tell me.
--
You received this message because you ar
Hello everyone,
I was just learning Django and had a doubt.
while making django models classes,In CONSOLE, the objects of the models
were returning as query sets
The queryset is a class"my question is whether query set is a parent
class models.Model?".
I wanted to know how these 2 classes ar
This is what my code looks like and it now works :
see where it says "example of setting pk..." below:
def dyn_menu_new(request):
from .models import menu as menuX
from .models import buttons
if request.method == 'POST':
if request.user.is_superuser:
super_user
Hey,
thanks for you response. Before i save i want to make is_valid() and there
came this exception.
Regards
wilkycon...@gmail.com schrieb am Samstag, 27. Februar 2021 um 16:36:35
UTC+1:
> I had similar issues, I found this helpful:
>
> https://groups.google.com/g/django-users/c/PcSDKZhPVmc
>
I had similar issues, I found this helpful:
https://groups.google.com/g/django-users/c/PcSDKZhPVmc
On Sat, Feb 27, 2021 at 9:19 AM Ryan Nowakowski wrote:
> I think choices is causing the problem. Try limit_choices_to instead:
>
>
> https://docs.djangoproject.com/en/dev/ref/models/fields/#djan
I think choices is causing the problem. Try limit_choices_to instead:
https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.ForeignKey.limit_choices_to
On February 27, 2021 8:06:26 AM CST, "sebasti...@gmail.com"
wrote:
>Hello,
>
>I have a CBV with Createview. Now i have a Fo
Please reply with your new code and copy and paste the exact error message with
full traceback.
On February 26, 2021 6:40:28 PM CST, Salima Begum
wrote:
>Yes. I have tried that no it is not working and giving error like
>"Query
>object doesn't contain flush()"
>
>On Sat, 27 Feb 2021, 12:35 am R
Hello,
I have a CBV with Createview. Now i have a Foreign Key from Box to Tabs
model. When i submit request then i get error:* Cannot assign "1":
"Box.tabs_link" must be a "Tabs" instance*. This happens on form.is_valid
I understand this error but i don't know how can i fix this.
*Models.py*:
11 matches
Mail list logo