Jamie
I am beginner in django
Try to read documentations
Aditi
Whatever i m changing in view.py on app ..it is not reflected on browser and showing error not able to catch url 404
Aditi
Is it gud idea or bad when we use django ide will be visual studio code
Aditi
Or m wrong here ..we have to use pycharm any suggestions
Charly
And editing views is not the only thing required to have something in the broswer, you need to add urls
Charly
so better to follow the official tutorial
Aditi
I followed everything..
Charly
I followed everything..
Not everything, just the official tutorial
Charly
So show us, your urls.py your views.py and what exact url are you usuing in the browser
Aditi
After running django server when i run this command normal command window it show this error
Aditi
Media isn't allow ??
Charly
Media isn't allow ??
No, errrors are text
Aditi
In this group
Doragonsureiyā
In this group
To share code or error tracebacks, use a pasting service, like: - https://linkode.org - https://dpaste.org
Aditi
This app can't run on your pc..
Aditi
Ok..Thanks for prompting reply..once again i will have a look ..then come back again if not possible for me
Muhammed
IntegrityError at /user/register_employer/NOT NULL constraint failed: jobs_company.User_id
Charly
This app can't run on your pc..
Where you get this error? What else it does say?
Charly
from where user comes? seems its None
Muhammed
I try to create a user and company together
Charly
I try to create a user and company together
you are not creating user there
Muhammed
It's solved thanks all
Jamie
nailed it
Almaz
What books can I read? It doesn't matter what django 4.1 version at this moment, and the book I'm going to read will be django version 1-3
Doragonsureiyā
What books can I read? It doesn't matter what django 4.1 version at this moment, and the book I'm going to read will be django version 1-3
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
cj
What books can I read? It doesn't matter what django 4.1 version at this moment, and the book I'm going to read will be django version 1-3
that doesn't make any sense, if it's the first time you're gonna learn about django, then start reading the docs on the latest version, it matters a lot actually
warkiraw
I don’t need a ready made project,I need a good tutorial
Doragonsureiyā
I don’t need a ready made project,I need a good tutorial
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Almaz
How do I make it so that I see the name of the objects in django administration? I wrote this method Def __str__(self): return self.name But it didn’t work
The Inspired
you have written Def __str__(self):
The Inspired
that first letter - D
The Inspired
its capital. it should be lowercase
The Inspired
def __str__(self):
Almaz
I have in code a little -d
The Inspired
show your code
Shivani
Anyone help me.... How I get foreignkey field name instead of I'd
Shivani
I saved data easily but get its I'd in our api
The Inspired
are you using serializers?
Shivani
Database show its name but get method show I'd
Almaz
class Category(MPTTModel): name = models.CharField(max_length=100) slug = models.SlugField(max_length=100) parent = TreeForeignKey( 'self', related_name="children", on_delete=models.SET_NULL, null=True, blank=True ) def __str__(self): return self.name
The Inspired
show serializer
The Inspired
model is fine
The Inspired
show serializer
Shivani
Ya model is also fine
Shivani
Show me serializer and view
Shivani
Yes I registered model in admin
Shivani
Data is also save and database show its name not id
Shivani
Site is. Not working
The Inspired
Yep
and its still not showing in the admin? hmm.. restart the server
Shivani
Ok
Doragonsureiyā
Site is. Not working
If you need help, don't just say "not working", explain in detail what's not working the way you expect it to
Almaz
Bro i restarted many times but it steel write object(number)
The Inspired
can you post a screenshot here?
Maxim
can you post a screenshot here?
don't give bad advice media is not allowed here
The Inspired
oh right...
The Inspired
pics not allowed
Almaz
can you post a screenshot here?
We can chat in private messages later, right now I don't have a computer
The Inspired
ok
Doragonsureiyā
We can chat in private messages later, right now I don't have a computer
Can i send you a private message? No. We do not provide one-on-one tutoring, hire someone if you need it. Questions are better answered in public so that everyone can learn.
Almaz
ok
Thanks, I’ll write to you
!$@@¢
static files not reloading Can you help
Andrej
Which platforms do you use to find Django projects to work on?
warkiraw
Everybody I can use JavaScript with Django?
warkiraw
Everybody I can use JavaScript with Django?
If I will use,can I get any problems?
Andrej
Check on github
Thank you. I mean Django projects to get paid for.
Dinesh
Could u pls help me?
Doragonsureiyā
Could u pls help me?
No one can help you until you explain your difficulties.
Dinesh
No one can help you until you explain your difficulties.
How can I share my difficulties in the group itself or some other way is there
Charly
How can I share my difficulties in the group itself or some other way is there
By describing your issue, what have you done and where are you stuck