Re: Django question.

2019-06-09 Thread Sipum Mishra
Hi Bhaskar, You can write your helper functions inside utils.py and can use it wherever you want. And basically utils.py contains utility functions or helper functions. Thanks. On Sun, 9 Jun, 2019, 2:29 AM Bhashkar Bisht, wrote: > HI there is there any best way to create django helper class >

Re: my file uploads missing/deleted

2019-06-09 Thread omar ahmed
i installed Dropbox for django environment but how to link an account and adjust settings tutorial is not clear thanks On Saturday, June 8, 2019 at 8:23:08 PM UTC+2, Joe Reitman wrote: > > Follow the django-storages documentation. > https://django-storages.readthedocs.io/en/latest/backends/drop

Channel 2 no longer has Group object. If so, how can we know if a particular group is already created?

2019-06-09 Thread Arean Bbay
I want certain users to have the ability to join a group, if it is already created but not create one. In order to do that I need a way to check it. How to do that? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this grou

Mixing ListView and CreateView

2019-06-09 Thread Emad G.Kamel
Hi there I'm working on a clone to pastebin and I want my home page contain a form for creating the snippet and side view to list latest snippets. How can I mix the ListView and CreateView to achieve that? -- You received this message because you are subscribed to the G

Re: my file uploads missing/deleted

2019-06-09 Thread Joe Reitman
Omar, Looking at your original request I misunderstood what you wanted to do. I thought you wanted to configure media files which are uploaded by the user. For static files you have many free options to store them and put the links in your img tags. If you have a codepen.io account, you can up

Re: How to fix: Django forms: {{ form }} is not working in a dynamic html page

2019-06-09 Thread Marvelous Ikechi
I couldn't find a description field in the creation of your ContactForm. Maybe it's an oversight from me. However, if it isn't, I'm not expecting to see a {{card.description}} in your cards.html page. On 12:30PM, Fri, Jun 7, 2019 Delcy John wrote: > i think the error is in form.py,you must put i

Re: Channel 2 no longer has Group object. If so, how can we know if a particular group is already created?

2019-06-09 Thread Aldian Fazrihady
Group is more like tagging to a channel. If you need the capability to check if a group name has been used or not, you need to add the capability by yourself. Regards, Aldian Fazrihady On Mon, 10 Jun 2019, 02:38 Arean Bbay, wrote: > I want certain users to have the ability to join a group,

Re: Mixing ListView and CreateView

2019-06-09 Thread Aldian Fazrihady
Here is a way to combine them: https://docs.djangoproject.com/en/2.2/topics/class-based-views/mixins/ If you are using Django Rest Framework, they already have it: "rest_framework.generics.ListCreateApiView" regards, Aldian Fazrihady http://www.aldianfazrihady.com/en-us/ On Mon, 10 Jun 2019,

Re: my file uploads missing/deleted

2019-06-09 Thread omar ahmed
this is explanation for my problem my site is for football news My Media Files are uploaded to the app but then disappear like clubs logo here https://arena3.herokuapp.com/8/clubpage/ when i created any club logo appear but after minutes disappear i don't mean files uploaded by the users (

search bar

2019-06-09 Thread Pradeep Singh
how to make drop down based search bar in django . where user can select particular field and then retrieve data ex- realestate .. anyone can help me to make such type of search bar -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscrib

Re: my file uploads missing/deleted

2019-06-09 Thread sagar ninave
omar ahmad i want to know how you have deployed your site on herokuapp, because i am getting application error On Sat, Jun 8, 2019 at 5:02 AM omar ahmed wrote: > hii .. > i deployed my first django app on Heroku https://arena3.herokuapp.com/ > but my media files ( like club logo ) disappear or d