Re: [How to enter the virtual environment created by Django Web Project in VS2019]

2023-03-10 Thread Omkar Parab
Try running 👇 inside the env folder. .\Scripts\activate शुक्र, १०, मार्च २०२३, ८:३२ म.उ. ला 徐捷耀 ने लिहीला: > Hello, I am Jiao. > > I would want to know how enter the virtual environment created by "Django > Web Project" in Visual Studio. > > WHAT I DID? > I enter the file path "~MyProjectna

Re: profile page and new user will not save

2022-02-23 Thread Omkar Parab
Something went wrong with the signals. Paste your signals.py file. On Wed, Feb 23, 2022, 10:52 AM 'Delvin Alexander' via Django users < django-users@googlegroups.com> wrote: > Hello Everyone, > > I am having trouble saving a new profile, and user when they are created. > Upon creating a new user

Re: Multiple image upload using Django, Vuejs and Axiox

2021-11-19 Thread Omkar Parab
Check, whether you've added "upload_to" in your Image Field and add MEDIA_ROOT & MEDIA_URL in settings.py file or not. On Sat, Nov 20, 2021, 10:36 AM Alam Khazi wrote: > Hi, > By using Vuejs, Axiox and Django, Uploading multiple images. After > uploading images are getting in list and then tho

Re: best tutorial or guidance for social login(facebook or google) using django allauth and rest auth

2021-06-01 Thread Omkar Parab
Jun 2, 2021 at 10:37 AM Omkar Parab wrote: > >> You need to pass csrf_token using tag or via JS. >> >> On Wed, Jun 2, 2021, 10:53 AM DJANGO DEVELOPER >> wrote: >> >>> it is working now but giving the errors attached in the photo. when I >>&g

Re: best tutorial or guidance for social login(facebook or google) using django allauth and rest auth

2021-06-01 Thread Omkar Parab
Try using HTTPS. On Wed, Jun 2, 2021, 10:53 AM DJANGO DEVELOPER wrote: > it is working now but giving the errors attached in the photo. when I > click on send anyway, then it shows error of csrf forbidden. I am getting > confused again and again. > > On Wed, Jun 2, 2021 at 10:18

Re: best tutorial or guidance for social login(facebook or google) using django allauth and rest auth

2021-06-01 Thread Omkar Parab
Run "ngrok.exe http 8000" command in ngrok terminal. On Wed, Jun 2, 2021, 9:23 AM DJANGO DEVELOPER wrote: > let suppose I have installed ngrok, then should have I to run command of > ngrok.exe in project's directory or anywhere? > > On Wed, Jun 2, 2021 at

Re: best tutorial or guidance for social login(facebook or google) using django allauth and rest auth

2021-06-01 Thread Omkar Parab
Facebook login won't work with these local URLs. Only google login will work. Don't waste your time. Either host it on Heroku or install ngrok and try again. On Wed, Jun 2, 2021, 7:16 AM DJANGO DEVELOPER wrote: > and last settings of my developer app > > On Wed, Jun 2, 2021 at 6:44 AM DJANGO DEV

Re: best tutorial or guidance for social login(facebook or google) using django allauth and rest auth

2021-06-01 Thread Omkar Parab
What error you're getting? On Tue, Jun 1, 2021, 7:37 PM DJANGO DEVELOPER wrote: > I need to develop a social login functionality for facebook using django > allauth and django rest auth. I am struggling from 3 days and I would like > to someone who can refer me a good tutorial or any other writt

Re: In need of immediate help from Django community

2021-05-24 Thread Omkar Parab
Error is in forms.py file. "model = User" not profile. Default "User" model comes with username, email filed. Why you're creating another email field in the Profile model? Just fetch it using {{ user.email }} On Tue, May 25, 2021, 1:38 AM Aritra Ray wrote: > Hi, > > I've been facing a probl

Re: Project

2021-05-18 Thread Omkar Parab
Why not! Spotify is also using Django. On Tue, May 18, 2021, 8:54 PM Vineet Kothari wrote: > Hi, > I want to create an music streaming website in djanho is it a good > idea. > > Regards , > Vineet Kothari > > -- > You received this message because you are subscribed to the Google Groups > "D

Re: signup error

2021-05-07 Thread Omkar Parab
You need to import SignUpForm, in the views.py file. Post the screenshot of the error. On Fri, May 7, 2021, 6:48 PM EVELYNE MBAU wrote: > Hello, how do i solve name 'SignUpForm' is not defined > > -- > You received this message because you are subscribed to the Google Groups > "Django users" gro

Re: Django application is slow

2021-03-24 Thread Omkar Parab
the > cahe binding to the settings > > > > > On Wed, Mar 24, 2021 at 10:38 AM Omkar Parab > wrote: > >> Django documentation 👇 >> https://docs.djangoproject.com/en/3.1/topics/cache/ >> >> On Wed, Mar 24, 2021, 1:52 PM Israr Hussain Rao < >>

Re: Django application is slow

2021-03-24 Thread Omkar Parab
check my server capability as well. do you know about the Django > cache technique? how can i use it? > > > > > On Wed, Mar 24, 2021 at 10:17 AM Omkar Parab > wrote: > >> Check, if your server is capable of handling huge requests or not. >> Remove unused JavaSc

Re: Django application is slow

2021-03-24 Thread Omkar Parab
Check, if your server is capable of handling huge requests or not. Remove unused JavaScript. Check your querysets. On Wed, Mar 24, 2021, 1:31 PM Israr Hussain Rao < israrhussainrao5...@gmail.com> wrote: > Dear Programmers, > my Django application is big and slow any leads on how to make it fast

Re: Hi how to another app URL config to main project URLs

2021-03-20 Thread Omkar Parab
path('' ", include('name_of_your_app.urls')). Tip - You should learn more about, how to send an email. On Sat, Mar 20, 2021, 10:41 PM Mahendra wrote: > > > Mahendra Yadav > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe

Re: Improperly Configured at /blog/write/

2021-03-20 Thread Omkar Parab
, **kwargs) On Sat, Mar 20, 2021, 6:33 PM Noyon Barman wrote: > > > On Sat, Mar 20, 2021 at 6:02 PM Omkar Parab wrote: > >> Looks like, the slug is not configured correctly. Post the screen-shot of >> the models.py file of the "App_blog" App. >> >&

Re: Improperly Configured at /blog/write/

2021-03-20 Thread Omkar Parab
Your slug is adding extra characters after the main title. On Sat, Mar 20, 2021, 5:31 PM Omkar Parab wrote: > Looks like, the slug is not configured correctly. Post the screen-shot of > the models.py file of the "App_blog" App. > > On Sat, Mar 20, 2021, 4:48 PM

Re: Improperly Configured at /blog/write/

2021-03-20 Thread Omkar Parab
Looks like, the slug is not configured correctly. Post the screen-shot of the models.py file of the "App_blog" App. On Sat, Mar 20, 2021, 4:48 PM Noyon Barman wrote: > Please help me what should I do now > > On Sat, Mar 20, 2021 at 12:39 PM Omkar Parab > wrote: > >&

Re: Improperly Configured at /blog/write/

2021-03-19 Thread Omkar Parab
Post the screen-shot of app/urls.py file. On Sat, Mar 20, 2021, 4:05 AM Noyon Barman wrote: > > > On Sat, Mar 20, 2021 at 4:00 AM Anornymous u > wrote: > >> Send the error displayed on the browser in red >> >> On Sat, Mar 20, 2021, 00:54 Noyon Barman >> wrote: >> >>> >>> >>> On Sat, Mar 20, 20

Re: Python libraries for visualisations

2021-03-14 Thread Omkar Parab
You can integrate chart.js with Django for visualization. Check out this video 👇 https://youtu.be/B4Vmm3yZPgc On Mon, Mar 15, 2021, 10:19 AM GEETHANJALI S P wrote: > Hi..How to build a dashboard using django and python libraries for > creating visualisations?. Please let me know .Thanks in adv

Re: Date Range picker

2021-02-24 Thread Omkar Parab
Use django-filter On Wed, Feb 24, 2021, 5:12 PM neha bhurke wrote: > > *Regard,* > *Neha Bhurke* > > Like this 👇 > > > On Wed, Feb 24, 2021 at 5:04 PM Omkar Parab wrote: > >> Something like this? 👇 >> >> On Wed, Feb 24, 2021, 4:37 PM neha bhurke

Re: Help needed

2021-02-22 Thread Omkar Parab
datetime=models.DateTimeField(auto_now=False) ? Or remove "auto_now" datetime=models.DateTimeField() On Tue, Feb 23, 2021, 11:34 AM neha bhurke wrote: > Hello everyone, > > I am trying to select the custom date but > datetime=models.DateTimeField(auto_now=True) > is only taking current date

Re: Timezone UTC Problem

2021-02-17 Thread Omkar Parab
LANGUAGE_CODE = 'en-us' TIME_ZONE = 'Asia/Kolkata' USE_I18N = True USE_L10N = True USE_TZ = True On Wed, Feb 17, 2021, 5:13 PM neha bhurke wrote: > How to set the Time zone in Setting.py > How to set UTC.. > > -- > You received this message because you are subscribed to the Google Groups >

Re: how to pass multiple query sets in Django

2021-02-16 Thread Omkar Parab
pass your multiple query sets using the get_context_data" method. 👇 https://docs.djangoproject.com/en/3.1/topics/class-based-views/generic-display/ On Tue, Feb 16, 2021, 7:28 PM Anil s wrote: > > Hello Everyone: > > Can somebody please tell me how to pass multiple query sets in Django. > > Than

Re: Notification System

2021-02-15 Thread Omkar Parab
Simplest solution is, import "send_mail" and add that after form.save in your create_post function/view. If you want push notifications then search about django FCM/GCM. On Tue, Feb 16, 2021, 10:14 AM Kumar Gaurav wrote: > Hi Everyone, > > I have a LinkedIn kind of portal where I want to implem

Re: How to add css class and attribute to username,password

2021-02-14 Thread Omkar Parab
crispy-forms will give you bootstrap design. If you want to apply your own css then install "django-widget-tweaks". On Mon, Feb 15, 2021, 1:10 AM Omkar Parab wrote: > Install django-widget-tweaks package. > > On Mon, Feb 8, 2021, 2:11 AM Tal Bar-Or wrote: > >>

Re: How to add css class and attribute to username,password

2021-02-14 Thread Omkar Parab
Install django-widget-tweaks package. On Mon, Feb 8, 2021, 2:11 AM Tal Bar-Or wrote: > > Hello , > > I writing project which the user login with my own customized HTML page > (boosstrap) > > i can manually add the form.username and form.password , but seems they > don't get the attribute from my

Re: CRUD Generator

2021-01-07 Thread Omkar Parab
You can build whatever you want, using Django! On Fri, Jan 8, 2021, 11:13 AM Chandrashekhar Singh < chandrashekhar...@gmail.com> wrote: > Hello, > > Does anyone one know ? Is django is best framework for developing delivery > applications? > > Thanks > > On Thu, Jan 7, 2021, 11:39 PM Noel Simela

Re: Migration of database

2020-12-14 Thread Omkar Parab
Check out this video. 👇 https://youtu.be/6DI_7Zja8Zc On Tue, Dec 15, 2020, 12:09 PM Dhruvil Shah wrote: > I have already made my project in Django and used built-in database Sqlite > and now I want it in production on heroku so how can I switch all data from > Sqlite database to Postgresql datab

Re: Built in views how to change in django watson package.

2020-12-09 Thread Omkar Parab
I'm not familiar with the Django-Watson package. Maybe you missed some initial steps. Go through this medium blog. you will get an idea. 👇 https://link.medium.com/nFPB7cMM4bb On Wed, Dec 9, 2020, 5:35 PM Salima Begum wrote: > Hi Omkar parab , > I have followed the suggested pat

Re: Built in views how to change in django watson package.

2020-12-09 Thread Omkar Parab
to display. Try entering a less specific search term. {% else %} Please enter a query in the search form. {% endif %} {% endif %} On Wed, Dec 9, 2020, 2:35 PM Salima Begum wrote: > Thank you @Omkar Parab, I have tried yo

Re: Built in views how to change in django watson package.

2020-12-08 Thread Omkar Parab
Here's the link for the built-in-views, https://github.com/etianen/django-watson/wiki/Built-in-views To return search results on the home page, you need to add your, {℅ Url "your_home_namespace" ℅} in On Wed, Dec 9, 2020, 9:35 AM Salima Begum wrote: > Hi all, > > I am using the django wats

Re: Looking for a new project

2020-12-05 Thread Omkar Parab
Welcome to the django community! 🎉 Here's the playlist for Django 3.0 https://www.youtube.com/playlist?list=PL-51WBLyFTg2vW-_6XBoUpE7vpmoR3ztO On Sat, Dec 5, 2020, 9:59 PM Dishita Bhasin wrote: > Warm Greetings everyone, myself Dishita Bhasin. I would love to contribute > to this wonderful orga

Re: Is it possible to use REST API on Django template ?

2020-11-25 Thread Omkar Parab
Creating REST API in Django is similar to any app on Django. All you need to do is, install the djangorestframework library, and serialize your models. YT video 👇 https://youtu.be/TmsD8QExZ84 On Wed, Nov 25, 2020, 7:48 PM Aman Modi wrote: > > > Hello Django lovers. > > I want to use REST API on

Re: How to connect django and React js but getting Error

2020-10-26 Thread Omkar Parab
In Trmplates 👇 os.path.join(BASE_DIR, 'new/build') At the bottom 👇 STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'new/build/static') ] On Mon, Oct 26, 2020, 3:24 PM Vineeth wrote: > I am using django 3.1 version how to connect django and react i am trying > to connect but > getting Error

Re: Login form

2020-10-05 Thread Omkar Parab
Check my video https://youtu.be/uws1ThBRBLQ On Mon, Oct 5, 2020, 7:07 PM Moses Omoto wrote: > How to I create a login form to authenticate users in django web > application using django 3.1 > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group

Re: Django Sitemap on heroku error h13

2020-09-21 Thread Omkar Parab
Put your code on github. I'll compare with my code. I've done sitemap for my site and it's working. On Mon, Sep 21, 2020, 8:55 AM dum dum wrote: > Anyone has solution for this issue? > Please let me know > Thanks > > On Mon, Sep 14, 2020 at 12:31 PM dum dum wrote: > >> Update for this case: >>

Re: Admin site's css doesn't work.

2020-09-17 Thread Omkar Parab
server is not able to find your static files. Run collect static command and add static root to your settings.py On Thu, Sep 17, 2020, 7:16 PM English Learning wrote: > when I host it, Admin's *CSS* doesn't show. Also, I am using SQLite > database. Screenshot is here: > > [image: DjangoAdmin.png

Re: Help with payment processing in django

2020-09-11 Thread Omkar Parab
Check-out last few videos of this 👇 series. https://www.youtube.com/playlist?list=PLpyspNLjzwBnGesxJOt_0r4xTWR80j7Y3 On Fri, Sep 11, 2020, 4:22 PM shyam.ac...@gmail.com < shyam.acharjy...@gmail.com> wrote: > > Hi guys, I am working on a project which offers contents and every > content has a di

Re: Image Uploaded by Ckeditor using Django to AWS S3 gone after certain amount of time

2020-09-09 Thread Omkar Parab
Set your bucket access and permission to Public. On Wed, Sep 9, 2020, 1:48 PM hans alexander wrote: > I tried to put > > AWS_QUERYSTRING_AUTH = False > AWS_S3_BUCKET_AUTH = False > > on settings.py, > > it didn't work. > > Thanks. > > > On Wed, Sep 9, 2020 at 3:16 PM hans alexander wrote: > >>

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

Re: Project setup

2020-09-04 Thread Omkar Parab
Check-out this repository. 👇 https://github.com/adigunsherif/Django-School-Management-System On Fri, Sep 4, 2020, 10:18 PM Kritika Paul wrote: > Hi > > I am a beginner to django and trying to create a full fledged school > management system on django. > I need someone to help in setting up the p

Re: Django app to PWA

2020-07-24 Thread Omkar Parab
I just installed django-pwa in my django site, and it's working properly. On Wed, Jul 22, 2020, 2:06 AM Anirudh choudhary < anirudhchoudary...@gmail.com> wrote: > Hello everyone > > can anyone share me the link how to make your webpage to Progressive web > app > > i have tried > > django-pwa and

Re: How to exit of pipenv in vscode

2020-07-14 Thread Omkar Parab
.\Script\deactivate On Tue, Jul 14, 2020, 7:16 PM sunday honesty wrote: > While in the VS Code Terminal, the 'exit' command closes the terminal > directly, whereas I just want to deactive pipenv, is there a way to do this? > > -- > You received this message because you are subscribed to the Goog

Re: user visit count

2020-04-15 Thread Omkar Parab
Django hit count package will help you.. On Wed, Apr 15, 2020, 1:09 PM shreehari Vaasistha L wrote: > how can i get the number of views of an endpoint by a single user. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe fro

Re: guys help me please, page doesn't open image

2020-03-06 Thread Omkar Parab
> >> it doesn't work, I tried( >> [06/Mar/2020 15:01:39] "GET /products/ HTTP/1.1" 200 1719 >> Not Found: /products/3.png >> [06/Mar/2020 15:01:39] "GET /products/3.png HTTP/1.1" 404 2137 >> >> >> >> On Friday, March 6, 2020 at

Re: guys help me please, page doesn't open image

2020-03-06 Thread Omkar Parab
{{ product.image.url }} On Fri, Mar 6, 2020, 4:50 PM Aly_34_04 MR_34_04 < allaberdi16yazha...@gmail.com> wrote: > [image: Capture.JPG] > Enter code here... > #django templates > > {% extends 'base.html' %} > {% block content %} > Products > > {% for product in products %} > > > > > {

Re: website using django

2020-03-02 Thread Omkar Parab
Destination_name Image Description Ratings On Mon, Mar 2, 2020, 11:06 PM bijay subedi wrote: > i am simply not getting to the point what to keep in model.py when > creating a webpage for tourist guide website .what are the things i > basiclly need to put in database fields? > please help me

Re: new to django

2020-03-01 Thread Omkar Parab
Here's the Perfect Django tutorial. >From development to production. https://www.youtube.com/playlist?list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p On Sun, Mar 1, 2020, 11:33 PM Gurjot Kawatra wrote: > hello everyone ...if anybody could help me out > my django server is started and i'm able t

Re: Request to disallow using django name in third party django packages name

2020-02-20 Thread Omkar Parab
All the third party apps are open source. Codes are available on github. You can create your own. Just like you, they've also created, and kept public. On Thu, Feb 20, 2020, 6:57 PM 'Artem Vasin' via Django users < django-users@googlegroups.com> wrote: > Hi! > > *Tl;dr no I don’t think so, actual

Re: TINYMCE Configuration on Django

2020-02-16 Thread Omkar Parab
Ckeditor is also cool, and easy to use in production. On Mon, Feb 17, 2020, 12:02 AM Hedrick Godson's wrote: > In ur settings.py file add this > Add to installed apps > INSTALLED_APPS = [ > 'tinymce', > > ] > > Configure it > > TINYMCE_DEFAULT_CONFIG = { > 'plugins' :"image, imagetools, media, c

Re: Django tutorial part 2: "It’s important to add __str__() methods to your models"

2020-01-12 Thread Omkar Parab
Atom, sublime never show this error. On Mon, Jan 13, 2020, 10:09 AM Jorge Gimeno wrote: > Hmm. Not doing that on mine. It is correct that __str__() is defined in > models.Model, which your models inherit from. I don't know why it would be > considered an error. > > -Jorge > > On Sun, Jan 12, 2

Re: Django tutorial part 2: "It’s important to add __str__() methods to your models"

2020-01-12 Thread Omkar Parab
__str__() represent string in a readable format. If you removed __str__() it will show you object 1, object 2 in admin panel. On Mon, Jan 13, 2020, 3:25 AM Julius Lange wrote: > Dear people, > > currently doing the django tutorial! Really enjoy it so far. > > I am using PyCharm, Django version