Anonymous
Sorry I have some annoying questions 1) is it best to use django admin or a custom admin 2) can I have more than one base template (I need it for header, nav, video, and footer) 3) I have this problem when trying to create another (I think it's called app) using the terminal it's giving me an error And this is not really related to Django. How can I make my video header work on safari (it works on all devices apart form safari)
Anonymous
Hai how to make sorting table in modal.. for Ajax data any help will be appreciated thanks
Anonymous
Hai
Anonymous
Can anyone please answer
Anonymous
I am beginner to django
Anonymous
Want like table with sorting ... In modal
George
!meta
Doragonsureiyā
Please don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello I need help on $z" Just ask about your problem directly! With a very high amount of people here the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
George
Want like table with sorting ... In modal
And i want a hamburger but you don't know what kind i am asking for.
Anonymous
My apologies
George
Also, your problem is mostly javascript related
Anonymous
Thank you
Syed Jafer
Is there any diff between normal django api and drf api.
Gilbish
Is there any diff between normal django api and drf api.
Api can be created using django drf but not with normal django
Sweetie
How can I create a instant temporary duplicate of my production postgresql db run some tests to make sure everything works before I deploy. I want to test with live data .
cj
About safari: I need it to work on safari in case of the apple users
AFAIK Apple users use Chrome instead of Safari 🤷🏻‍♂ but well... that's something outside Django's scope now
Himanshu
how can i use the django rest api for already built project in django?
Chekuthan
Hai
Chekuthan
I'm a beginner to django
Chekuthan
How can we create django authentication
Chekuthan
Login page
Дауран
Keep Google and look for there
Anders (izzno / gooood) 🇳🇴
+1
OnlyGod
+1
alright
Anonymous
Is it good if I settle for the salute database or should I use another?
Дауран
Just type Django tutorial
Sweetie
Hello I have following model class Person(models.Model): name = CharField(max_length=10) job_id = IntegerField() employer_id = IntegerField(null=True) I want to select all person with distinct job_id with preference to Person having non null employee id. So if I have 2 person (Jack, Jimmy) with same job_id of 98765 but Jack has employee_id null I want to have Jimmy in queryset but not jack. How to achieve this?
Rainur
Hello! I have a form on my site. I send it via AJAX to the server. Recently I had to add uploading photos to the form. You also need to load it via AJAX. In the form added an input, in the tag the form added enctype. It is written in AJAX to upload files. Please tell me what I need to do?) Code here: https://pastebin.com/AHTCBzN9
Anonymous
i will implement django-tinymce in django but i want to extend using plugin
Anonymous
i have long lat coming as string in my request. now i want to query my db. fir that i need to convert in decimal value. i m using some formal for radian and all. to fetch all records in some radius. but when i use Decimal it gives me result like Decimal('45.9664') i want data to to be 45.9664
Anonymous
how can i get this
Momin
First my url was 127.0.0.8000/<int:id> It was showing images properly but when i change that specific url to 127.0.0.8000/images/<int:id> then it didnt show me images
Zion
single slug doc’s?
Yash
Hiii guys can you tell me how to use nginx and gunicorn for django project
Oğuzhan
i was reading through django documentation and came across this sentence "intensive Web applications on journalism deadlines" what does this means?
^_^
Like @login_required(login_url='login')
Thank you problem solved and documentation was also useful
Jamil
Hey guys, the django image field usually stores a link or an image, a link right? what about when an image is inserted into the field, is it saved to the specific upload dir straight away when POST occurs, and hence the link goes through serializer and into dbase?
Maz
Any available LMS in Django that's also open source?
Doragonsureiyā
Any available LMS in Django that's also open source?
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box write down the same words you asked here Step 4: Read the firsts results
Maz
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box write down the same words you asked here Step 4: Read the firsts results
Lol...i know about Googling. I'm asking the members about the little-known, personal projects that one or two may have worked on.
Anonymous
How to create app like Instagram status using Django rest? Please anyone help, if any example please share it
Omkar
Venkatesh you might need to establish socket connection to have a app like instagram
Assassin Creed
Is there any library to add in pycharm so it will suggest auto completes for Django template language DTL??
Assassin Creed
Ok thanks i will give it a try
A
I am working on a multithreading problem and I need help, please dm if anyone can help.
Tony
I am using Google maps on my website but i wanted to change the map whenever the user clicks on a certain element. How can I do that
Дауран
I think you can't change it
Tony
Really
Дауран
I don't know exactly but you can look for some information from the web
Tony
Alright
^_^
I would like to ask if using a form is the best approach to implement delete and update post for a blog project? Thanks
Baku
How to write unit test for delete request in djnago rest framework?
Anonymous
Any idea how to create excel file on ajax request in django view response.
Anonymous
/
Gil
Any idea how to create excel file on ajax request in django view response.
With packages about xls, creating a file/ memory file, search for xls python, there are a lot of packages
Anonymous
Depends of final interface (user) If its for generic web, yes easy to create
but i'm not geting any response ..some excel file
^_^
Depends of final interface (user) If its for generic web, yes easy to create
Okay what if not a generic web? What would you advice
Anonymous
Depends of final interface (user) If its for generic web, yes easy to create
actually i'm triying to call view function on template button click
Gil
Okay what if not a generic web? What would you advice
Generic web i refear to a html template. If you are using advanced frontend /spa/webpack with js, api rest
Gil
actually i'm triying to call view function on template button click
Try first without ajax, simple get request, if file is attached and correct, is it?
Anonymous
without ajax it's working correct
but i also need to give some selected input that's why i'm using ajax
Anonymous
but i also need to give some selected input that's why i'm using ajax
like employee code , company name, username and then
Gil
like employee code , company name, username and then
Ok, this is about ui ajax, maybe https://stackoverflow.com/questions/4545311/download-a-file-by-jquery-ajax , but i havent do it never
Gil
To you
Darth✧
I have created a chat app using django channels ...I have saved the messages in db and have a function which returns a list of dictionary of msgs having user and message keys ...and I m trying to fetch those msgs...probm is when trying to fetch those msgs ...can anyone help me ?
Ram Kumar Shukla
Hello guys, I've written TestCases for functions using Django Client(), and DJANGO_SETTINGS_MODULE set to mysite.settings it is running fine on local but when I pushing it to remote it is throwing error. Any help?