Re: How to customize admin page rendering?

2019-08-25 Thread Aldian Fazrihady
It is open source. Therefore, theoretically, you can customize everything. For admin page, I have customized many things, such as main templates, actions, validations, etc Regards, Aldian Fazrihady http://aldianfazrihady.com On Sun, 25 Aug 2019, 22:55 Jani Tiainen, wrote: > Hi. > > Instead of

Re: How to customize admin page rendering?

2019-08-25 Thread Jani Tiainen
Hi. Instead of trying that I suggest that you build your own managenent console where you can do all you want to. Admin is a great tool but it can't replace proper management tools. Mainly because admin isn't built for much of customization beyond what you can find from the docs. su 25. elok. 20

Re: How can I host my application in web hosting?

2019-08-25 Thread Yaovi samah
you just need to buy vps server , will allow you to have full control and from there you can host your web application , more information , whatsapp me so that i can give you help whatsapp: +22891219445 Le jeudi 22 août 2019 04:47:51 UTC-7, Wasim Rana a écrit : > > Hello, I am building a web ap

How to customize admin page rendering?

2019-08-25 Thread Pema Galey
I want to change/customize rendering of admin default page. For example, in search_field, I want to add placeholder or help text for searching. Help me in customization. Thank you -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Doesn't save data django Foreignkey model

2019-08-25 Thread Asaduzzaman Sohel
I've two model. I would like to save data from ForeignKey model. I'm created a modelform and save with my main foreignkey model. But I got this error ValueError at /c/customer/1/ Cannot assign "'1'": "BillingData.customer" must be a "CustomerData" instance. I created Django model form and ho

How to call an action from outside admin

2019-08-25 Thread Ezequias Rocha
Hello everyone I am using admin actions and it is great and easy. Butner if I want to use the same function used by admin from outside (I.E. Postman HTTP request or a website request). How do the Django rest framework provides me? Best regards Ezequias -- You received this message because

Re: form.is_valid() is always return false please help

2019-08-25 Thread Sundararajan Seshadri
If the issue is already resolved, ignore my update. A little lengthy response, so that you can appreciate the full picture. form-is_valid() is purely to do with the definition of the specific form - or rather the definition of the fields in the form. Because that is the only information known

Re: How can I host my application in web hosting?

2019-08-25 Thread Nur Mohsin
Thanks a lot. On Sun, Aug 25, 2019 at 3:12 PM Abu Yusuf wrote: > No idea about bangladeshi hosting providers for python hosting but you can > try: https://bangladesh.navicosoft.com/apps/best-python-django-hosting/ > > On Sun, Aug 25, 2019 at 2:11 PM Nur Mohsin > wrote: > >> Assalamu Alaikum Yus

Re: How can I host my application in web hosting?

2019-08-25 Thread Abu Yusuf
No idea about bangladeshi hosting providers for python hosting but you can try: https://bangladesh.navicosoft.com/apps/best-python-django-hosting/ On Sun, Aug 25, 2019 at 2:11 PM Nur Mohsin wrote: > Assalamu Alaikum Yusuf Bhaia, > > As I have no credit card, that's why I couldn't choose AWS or D

Re: How can I host my application in web hosting?

2019-08-25 Thread Nur Mohsin
Assalamu Alaikum Yusuf Bhaia, As I have no credit card, that's why I couldn't choose AWS or DO. I am from Bangladesh and suffering to choose a hosting provider in Bangladesh where Django and Postgresql are well supported. Would you please suggest me any company? Thanks. On Sun, Aug 25, 2019 at 1

Re: Rest API

2019-08-25 Thread Abu Yusuf
Follow this for sorting queryset: https://stackoverflow.com/questions/2412770/good-ways-to-sort-a-queryset-django On Sun, Aug 25, 2019 at 1:51 PM Abu Yusuf wrote: > just sort it like this: > > li = ['the', 'thea', 'thecba', 'thecab', 'thebca', 'theabc'] > li.sort() > ['the', 'thea', 'theabc', 't

Re: User Register form not validating or returning errors.

2019-08-25 Thread Ajeet Kumar Gupt
Hi, Please use the below code. views.py __ def user_register(request): # if this is a POST request we need to process the form data template = 'mymodule/register.html' # template = 'index.html' if request.method == 'POST': # create a form instance and popul

Re: Rest API

2019-08-25 Thread Abu Yusuf
just sort it like this: li = ['the', 'thea', 'thecba', 'thecab', 'thebca', 'theabc'] li.sort() ['the', 'thea', 'theabc', 'thebca', 'thecab', 'thecba'] On Sun, Aug 25, 2019 at 12:57 PM Soumen Khatua wrote: > Hi Folks, > > I already implemented serach query parameter in my Django Rest API app,But

Re: form.is_valid() is always return false please help

2019-08-25 Thread Ajeet Kumar Gupt
Hi, Please check the below solution. [image: image.png] On Thu, Aug 22, 2019 at 11:57 PM Shubham Chauhan < shubham.chauhan...@gmail.com> wrote: > form.is_valid() is always return false please help > > -- > You received this message because you are subscribed to the Google Groups > "Django user