Re: deploying a django project

2020-09-07 Thread Liu Zheng
@Omkar Parab: Lol. Exactly. When I saw the question, this video was the first in my mind. I clicked in to share the link, but you have shared it. Cheers! On Tue, Sep 8, 2020 at 5:14 AM Omkar Parab wrote: > Follow this video. > https://youtu.be/6DI_7Zja8Zc > > On Tue, Sep 8, 2020, 2:36 AM

Re: Django ORM Model meta internal API to current API update

2020-09-07 Thread Asif Saif Uddin
any help? I can share the full function On Wednesday, August 19, 2020 at 3:42:09 AM UTC+6 vickkymb...@gmail.com wrote: > I don't bro i just started new in Django > > Victor > > On Tue, Aug 18, 2020, 3:46 PM Asif Saif Uddin wrote: > >> >> Hi, >> I have got an old project of django 1.8 which use

Re: Using FormMixin with DetailView

2020-09-07 Thread Abdu-H
Hello, i realise this is a very old post, but i am trying to implement your code here, but it seems some code are missing, i was able to get a form, but the contents of my detailView isn't showing, what code am i suppose to put here " A view for displaying a single post ". your help will be

Re: How can I give the image file a random nane when using ProcessedImageField?

2020-09-07 Thread Mike Walker
Figures, I solved the problem after posting the question. With a bit more searching and reading I found a rather simple solution to this. Changing the upload_to= to use a callable works. The callable needs to have two parameters instance and filename. changing the file name using a uuid seems

Re: deploying a django project

2020-09-07 Thread Omkar Parab
Follow this video. https://youtu.be/6DI_7Zja8Zc On Tue, Sep 8, 2020, 2:36 AM programmer 262 wrote: > hy guys i start learning django and i build a ecommerce website as > myfirst project and i don't know how to deploy it in heroku > > -- > You received this message because you are subscribed to

How can I give the image file a random nane when using ProcessedImageField?

2020-09-07 Thread Mike Walker
I posted this over in the django-imagekit group before I noticed that I am unlikely to get any response over there due to activity level. So I am now over here to ask this goup. I am using ProcessedImageField to resize images on upload in my user Profile model. The resizing part is working

deploying a django project

2020-09-07 Thread programmer 262
hy guys i start learning django and i build a ecommerce website as myfirst project and i don't know how to deploy it in heroku -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it,

Re: Sources for learning django

2020-09-07 Thread رضا قلیزاده
Hi Dm me on telegram @PyC0der And i will share all the resources that i collected with you for free! Fair enough? On Fri, 21 Aug 2020, 03:00 Mohamed Ghoneim Hey guys, > > can any one tell me name of books , websites or youtube channels which > are good to learn django . > > i also want to ask

Re: help

2020-09-07 Thread Anil pawar
Can you please share sample any sample code to understand with Django Packages do you want to achieve it. Maybe this one helps you if you want to access the 3ed party API with the token. *headers = {'Authorization': 'Token 9054f7aa9305e012b3c2300408c3dfdf390fcddf'} * *requests.get("http...",

Re: django widget radio button error save is not touch

2020-09-07 Thread José Luis Ruiz
Build your class like this one: class Card(models.Model): class Suit(models.IntegerChoices): DIAMOND = 1 SPADE = 2 HEART = 3 CLUB = 4 suit = models.IntegerField(choices=Suit.choices) https://docs.djangoproject.com/en/3.1/ref/models/fields/#django.db.models.Field.choices Look

Re: Django+DjangoRestFramework+React+Redux open source projects

2020-09-07 Thread sakshi jain
E_commerce website using django On Sun, Sep 6, 2020, 03:01 Shishir Jha wrote: > Look for gothinkster in github > > On Sat, 5 Sep 2020, 10:20 pm Yogendra Yadav, > wrote: > >> Please suggest open source projects to learn subject combination >> >> -- >> You received this message because you are

Re: Integrating User Accounts into Django Website

2020-09-07 Thread King Niko
Hans, This source works perfectly. Thank you! On Sat, Sep 5, 2020 at 11:16 AM hans alexander wrote: > Try this one : > https://jawaban.online/forum/discuss/52/django-login-and-authentication/ > > > On Sat, Sep 5, 2020 at 9:52 PM King Niko < > thelegendofearthretu...@gmail.com> wrote: > >> My

LOOKING FOR DJANGO PYTHON JOBS

2020-09-07 Thread Madhav Nandan
Hi group users, Hope you guys are doing well. I'm actively looking for jobs in the python, Django domain. please suggest me some google group where I can find one. I'm good with skills like Data Structures, Algorithms, OOPs Concepts, Django, SQLite, Python, Web scraping, Postgres, Github, Linux,

Re: djngo unittest to use "real" database.

2020-09-07 Thread Mike Dewhirst
On 7/09/2020 3:27 pm, django-newbie wrote: > Hi All, > > I am currently writing test cases for views, Which eventually uses > database also. > By default a test database is being created and removed after test are > run. A refreshed database is most likely what you want for testing. There are