Re: help

2020-06-23 Thread RaviKiran Kk
Hello All, Any one used django for IoT applications? Regards Ravi On Wed, Jun 24, 2020 at 11:06 AM Robert Rajendra < robert.rajen...@ithands.biz> wrote: > to configure virtual environment > 1. python -m pip install virtualenv > 2. go to project folder and type:- virtualenv > 3. source

Re: help

2020-06-23 Thread Robert Rajendra
to configure virtual environment 1. python -m pip install virtualenv 2. go to project folder and type:- virtualenv 3. source /bin/activate 4. Once it is activated you will see the name of your project in the left corner of your terminal enclosed within () 5. pip install 6. make sure to create a

Re: Custom Primary Key

2020-06-23 Thread Soumen Khatua
Yes, at the time of add a new record in model, automatically I want to create a custom ID and insert it into model On Wed 24 Jun, 2020, 7:18 AM Clive Bruton, wrote: > > On 23 Jun 2020, at 23:32, Oleg Kishenkov wrote: > > > Hello Soumen, you should use a CharField with the primary_key=True > >

Oracle 12.0.1 admin not working with django 3+

2020-06-23 Thread ashish goyal
Ho All, Have created lot of stuff in app, when i try login to admin with superuser name and password it shows integrity issue. And there is no row in django_admin_log. On some posts i found this is an issue with django 3+ version which i am using. How can i resolve this without hampering my

Re: Custom Primary Key

2020-06-23 Thread Clive Bruton
On 23 Jun 2020, at 23:32, Oleg Kishenkov wrote: Hello Soumen, you should use a CharField with the primary_key=True attribute for your model. This way no no automatic primary key field is generated, your field will be implicitly unique and non- null though. Only one primary key is allowed

Django Reference Manual on what classes can be used with views, urls, etc...

2020-06-23 Thread Dennis Triplett
I have been looking for a Django Reference Manual to let me know what classes, or Djanago tools are allowed in its calling syntax... Example from django.urls import path from MyApplication import views What I am looking for is an explanation of what things can be imported with URLS,

Re: Manage.py not working

2020-06-23 Thread Oleg Kishenkov
Hello, please follow this tutorial https://www.jetbrains.com/help/pycharm/creating-django-project.html, instead of MyDjangoProject type test1. Make sure a virtual environment is created for your project (step 1). Then go to Tools -> Run manage.py Task (or press Ctrl+Alt+r), type startapp app1

Re: Custom Primary Key

2020-06-23 Thread Oleg Kishenkov
Hello Soumen, you should use a CharField with the primary_key=True attribute for your model. This way no no automatic primary key field is generated, your field will be implicitly unique and non-null though. Only one primary key is allowed in a model. class Foo(models.Model) id =

Re: Custom Primary Key

2020-06-23 Thread Soumen Khatua
In the documentation they are specified, How to set Primary Key in Django model but In my case, I want to generate custom Primary Key?! On Wed, Jun 24, 2020 at 1:36 AM David Chorpash wrote: > Hi Soumen, > > Are you looking for this? >

Re: Custom Primary Key

2020-06-23 Thread David Chorpash
Hi Soumen, Are you looking for this? https://docs.djangoproject.com/en/3.0/ref/models/fields/#primary-key You should be able to create a field in your model and set the primary_key to True On Tue, Jun 23, 2020 at 1:18 PM Soumen Khatua wrote: > Hi Folks, > > In Django is there any way to

Custom Primary Key

2020-06-23 Thread Soumen Khatua
Hi Folks, In Django is there any way to create custom Primark Key like: M01234GH, M056YUOIP, etc. Please help me guys. Thank you in advance Regards, Soumen Khatua -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: Project Collaboration Team

2020-06-23 Thread yashwanth .k
I am not able to share project idea in this telegram app. On Tue, Jun 23, 2020 at 7:57 PM Shubhanshu Arya wrote: > Okay, Please join this group. https://t.me/joinchat/AEjSR4Dgtjuw8-Cs3Q > > > On Tue, Jun 23, 2020 at 7:49 PM yashwanth .k > wrote: > >> I am interested... my Medium

Re: Project Collaboration Team

2020-06-23 Thread mohamed khaled
it's not good way to create a telegram group that doesn't one can type or send a message On Tue, 23 Jun 2020 at 16:33, Ali Murtuza wrote: > The link is not working > > On Tue, 23 Jun 2020 at 7:31 PM, Shubhanshu Arya < > shubhanshuarya...@gmail.com> wrote: > >> Okay, Please join this group. >>

Re: how to fetch data into a template (table)

2020-06-23 Thread Faith Mwai
Am querying from a table already in production and need data to be real time hence the reason of using the raw sql. Let me modify and see whether it works On Monday, June 22, 2020 at 10:03:22 PM UTC+3, larry@gmail.com wrote: > > On Sat, Jun 20, 2020 at 11:41 AM Faith Mwai > wrote: > > > >

Re: Project Collaboration Team

2020-06-23 Thread Ali Murtuza
The link is not working On Tue, 23 Jun 2020 at 7:31 PM, Shubhanshu Arya wrote: > Okay, Please join this group. https://t.me/joinchat/AEjSR4Dgtjuw8-Cs3Q > > > On Tue, Jun 23, 2020 at 8:00 PM sachinbg sachin > wrote: > >> i am interested >> >> On Tue, 23 Jun 2020 at 19:49, yashwanth .k >>

Re: Project Collaboration Team

2020-06-23 Thread Saikat Pandit
I'm interested too. On Tuesday, June 23, 2020 at 9:43:46 AM UTC+5:30, Shubhanshu Arya wrote: > > Hello Everyone, > I want to make a team in which we will make some very good level projects > together. These projects will be very helpful in our interview as well. > Must have prior knowledge

Re: Project Collaboration Team

2020-06-23 Thread Kunal Solanke
Yup.I am intrested. On Tue, Jun 23, 2020, 09:44 Shubhanshu Arya wrote: > Hello Everyone, > I want to make a team in which we will make some very good level projects > together. These projects will be very helpful in our interview as well. > Must have prior knowledge about Django/Python. We will

Re: Project Collaboration Team

2020-06-23 Thread Shubhanshu Arya
Okay, Please join this group. https://t.me/joinchat/AEjSR4Dgtjuw8-Cs3Q On Tue, Jun 23, 2020 at 8:00 PM sachinbg sachin wrote: > i am interested > > On Tue, 23 Jun 2020 at 19:49, yashwanth .k > wrote: > >> I am interested... my Medium publication on Django --- >>

Re: Project Collaboration Team

2020-06-23 Thread sachinbg sachin
i am interested On Tue, 23 Jun 2020 at 19:49, yashwanth .k wrote: > I am interested... my Medium publication on Django --- > https://medium.com/django-launcher. Regards. Looking forward to > contributing to your projects. > > On Tue, Jun 23, 2020 at 7:38 PM Desh Deepak > wrote: > >> Interested

Re: Project Collaboration Team

2020-06-23 Thread Shubhanshu Arya
Okay, Please join this group. https://t.me/joinchat/AEjSR4Dgtjuw8-Cs3Q On Tue, Jun 23, 2020 at 7:49 PM yashwanth .k wrote: > I am interested... my Medium publication on Django --- > https://medium.com/django-launcher. Regards. Looking forward to > contributing to your projects. > > On Tue,

Re: Populate choices from existing values in a model field

2020-06-23 Thread Patrick Carra
I'm not directly modifying any code in a .py file I am simply adding a value to the database table but I am unable to see the change reflected in my drop down lists until I restart the server. Is there a better way of populating choices for my drop down menu? Or could I simply add a cron job

Re: Project Collaboration Team

2020-06-23 Thread yashwanth .k
I am interested... my Medium publication on Django --- https://medium.com/django-launcher. Regards. Looking forward to contributing to your projects. On Tue, Jun 23, 2020 at 7:38 PM Desh Deepak wrote: > Interested > > On Tue, 23 Jun 2020, 9:44 am Shubhanshu Arya, > wrote: > >> Hello Everyone,

Re: Project Collaboration Team

2020-06-23 Thread Desh Deepak
Interested On Tue, 23 Jun 2020, 9:44 am Shubhanshu Arya, wrote: > Hello Everyone, > I want to make a team in which we will make some very good level projects > together. These projects will be very helpful in our interview as well. > Must have prior knowledge about Django/Python. We will do

Re: Project Collaboration Team

2020-06-23 Thread mohamed khaled
I hope that too we can create team together and add Deepti sharma Famzaa Ali Murtuza On Tue, 23 Jun 2020 at 16:00, Deepti sharma wrote: > Interested. > > On Tue, Jun 23, 2020 at 9:58 AM Famzaa wrote: > >> interested in this... >> >> On Tue, Jun 23, 2020 at 5:20 PM Ali Murtuza >> wrote: >> >>>

Re: Project Collaboration Team

2020-06-23 Thread Deepti sharma
Interested. On Tue, Jun 23, 2020 at 9:58 AM Famzaa wrote: > interested in this... > > On Tue, Jun 23, 2020 at 5:20 PM Ali Murtuza > wrote: > >> I am intrested >> >> On Tue, 23 Jun 2020 at 9:14 AM, Shubhanshu Arya < >> shubhanshuarya...@gmail.com> wrote: >> >>> Hello Everyone, >>> I want to

Re: Project Collaboration Team

2020-06-23 Thread Famzaa
interested in this... On Tue, Jun 23, 2020 at 5:20 PM Ali Murtuza wrote: > I am intrested > > On Tue, 23 Jun 2020 at 9:14 AM, Shubhanshu Arya < > shubhanshuarya...@gmail.com> wrote: > >> Hello Everyone, >> I want to make a team in which we will make some very good level projects >> together.

Re: Project Collaboration Team

2020-06-23 Thread Ali Murtuza
I am intrested On Tue, 23 Jun 2020 at 9:14 AM, Shubhanshu Arya wrote: > Hello Everyone, > I want to make a team in which we will make some very good level projects > together. These projects will be very helpful in our interview as well. > Must have prior knowledge about Django/Python. We will

Re: help

2020-06-23 Thread Kasper Laudrup
Hi Peter, On 23/06/2020 13.15, Peter Kirieny wrote: thank you how do i activate virtual environment please? https://hostadvice.com/how-to/how-to-create-a-virtual-environment-for-your-django-projects-using-virtualenv/ Was the first result I could find on a Google search. Kind regards,

Re: help

2020-06-23 Thread Peter Kirieny
thank you how do i activate virtual environment please? On Tue, 23 Jun 2020 at 12:45, meera gangani wrote: > DATABASES = {'default': { > 'ENGINE': 'django.db.backends.postgresql_psycopg2', > 'NAME': 'my_local_db', > 'USER': 'admin', > 'PASSWORD': 'mypassword', > 'HOST':

Re: help

2020-06-23 Thread meera gangani
DATABASES = {'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'my_local_db', 'USER': 'admin', 'PASSWORD': 'mypassword', 'HOST': 'localhost',} Otherwise 'USERNAME': 'admin', You can try both ! On Tue, Jun 23, 2020 at 2:21 PM Peter Kirieny wrote: >

Re: help

2020-06-23 Thread Peter Kirieny
yes, postgres On Mon, 22 Jun 2020 at 19:04, Jatin Agrawal wrote: > Are you using postgres? > > On Monday, June 22, 2020 at 8:34:55 PM UTC+5:30, Peter Kirieny wrote: >> >> can someone help with this please >> >> django.db.utils.OperationalError: FATAL: password authentication failed >> for user