disable back button after login ????????????????????????????????????????????????????????

2019-07-19 Thread AKSHAY BHUVA
Disable Back button after login... please help me.. -- 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, send an email to django-users+unsubscr...@googlegroups.com. To

Re: SQLite 3.8.3 or later is required (found 3.7.17).

2019-07-19 Thread Tal
Or, if you prefer, use a slightly older version of Django that doesn't require an sqlite library that's newer than your OS has. Either that, or if you plan on using a database other than sqlite in production, once you modify your settings.py's DATABASES variable to use something other than

Re: Why am I getting multiple django error report emails for every exception?

2019-07-19 Thread Tal
After a bit of digging, it turns out that if I disable the django-channels app that I'm using, I only get the one email with the exception that was thrown. Even if I don't disable the django-channels app, and run it with daphne (as I would in production), rather than using the django channels

Re: SQLite 3.8.3 or later is required (found 3.7.17).

2019-07-19 Thread Tal
This is a known problem - at least on CentOS 7. Not sure what OS you're running on AWS - I don't have much experience with AWS. I literally just ran into this on my

Re: Why do my django email error reports have weird characters in the subject?

2019-07-19 Thread Tal
Ended up being related to the other problem I was having, where I was getting 2 emails for every exception, and both problems were caused by enabled django-channels. Disabling django channels, or running django-channels in production with daphne, rather than using the channels ASGI development

Re: SQLite 3.8.3 or later is required (found 3.7.17).

2019-07-19 Thread Jani Tiainen
Hi. Error is simple. Python is using too old version of sqlite. There are few options to fix that depending what os your system runs on. Though sqlite is not very suitable for production so you may want to use something better like Postgres. pe 19. heinäk. 2019 klo 22.14 anchal agarwal

Re: SQLite 3.8.3 or later is required (found 3.7.17).

2019-07-19 Thread anchal agarwal
This is my whole Traceback Traceback (most recent call last): File "manage.py", line 15, in execute_from_command_line(sys.argv) File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line utility.execute() File

Re: SQLite 3.8.3 or later is required (found 3.7.17).

2019-07-19 Thread anchal agarwal
I used default sqlite as my Database DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), } } My python version is python3 and Django version is 2.1.5 On Fri, Jul 19, 2019 at 7:06 PM Desh Deepak wrote: > Hi, show me your database

Re: Why do my django email error reports have weird characters in the subject?

2019-07-19 Thread Tal
Is this possibly related to the fact that I have django-channels enabled? I'll try disabling it to see if it's related. On Friday, July 19, 2019 at 9:46:20 AM UTC-6, Tal wrote: > > I setup my django 2.2.3 project to use gmail to send emails out. > > I also have it configured to send me emails

Why am I getting multiple django error report emails for every exception?

2019-07-19 Thread Tal
I setup my django 2.2.3 project to use gmail to send emails out. I also have it configured to send me emails about any exceptions that occur. To test it, I made a view with: float('a') It works, but I'm getting 2 emails in my Gmail inbox every time I hit that view: [image: Screen Shot

Why do my django email error reports have weird characters in the subject?

2019-07-19 Thread Tal
I setup my django 2.2.3 project to use gmail to send emails out. I also have it configured to send me emails about any exceptions that occur. To test it, I made a view with: float('a') It works, but there are weird characters in the subject of the email I receive, and in the first part of

Re: use of migrate command and how to see the tables

2019-07-19 Thread Afotro Ben
in my opinion migrate is the command that saves your code for django to run or tells django that an application has been installed. On Friday, 19 July 2019 08:22:33 UTC, yasar arafath Kajamydeen wrote: > > Hi all, > > can some one tell me what is the use of migrate command ? > > when i enter

Sir i am working on the django tweeter like project

2019-07-19 Thread niranjan shukla
But Problem is I don't get the images model.py -- class tweet_upload(models.Model): user = models.ForeignKey(User) title = models.CharField(max_length = 100) text = models.CharField(max_length=300) created_date = models.DateTimeField(auto_now_add=True)

Re: use of migrate command and how to see the tables

2019-07-19 Thread neha deshpande
Because there are no any new tables or modifications in existing tables. It is not an error. You use migrate command to reflect changes to your database. On Fri, 19 Jul, 2019, 1:53 PM yasar arafath Kajamydeen, wrote: > Hi all, > > can some one tell me what is the use of migrate command ? > >

Re: SQLite 3.8.3 or later is required (found 3.7.17).

2019-07-19 Thread Desh Deepak
Hi, show me your database connection, also tell me python and Django version. On Fri, 19 Jul 2019, 18:06 anchal agarwal, wrote: > Hello Django users, > i am trying to deploy my django on AWS > I am following this >

SQLite 3.8.3 or later is required (found 3.7.17).

2019-07-19 Thread anchal agarwal
Hello Django users, i am trying to deploy my django on AWS I am following this https://medium.com/@charlesthk/deploy-nginx-django-uwsgi-on-aws-ec2-amazon-linux-517a683163c6 Everything was going right but when i run python manage.py migrate , it's giving me this error

Re: use of migrate command and how to see the tables

2019-07-19 Thread James Bennett
On Fri, Jul 19, 2019 at 2:58 AM yasar arafath Kajamydeen wrote: > Thanks for the reply. Please try to solve the error which i shared (screen > shot ). > It is not an error. You have no migrations to apply, so the migrate command is telling you it sees nothing to do. It may help you to read the

Re: use of migrate command and how to see the tables

2019-07-19 Thread yasar arafath Kajamydeen
Hi Jani, Thanks for the reply. Please try to solve the error which i shared (screen shot ). Regards, Yasar Arafath K On Friday, July 19, 2019 at 4:33:08 PM UTC+8, Jani Tiainen wrote: > > Hi. > > Migrate command applies migrations, changes to your models, into database. > > For example if you

Re: use of migrate command and how to see the tables

2019-07-19 Thread Jani Tiainen
Hi. Migrate command applies migrations, changes to your models, into database. For example if you add a new field in your model you need to create a migration (piece of code that reflects your change) using makemigrations command. Once you have made migration(s) you need to apply them so

use of migrate command and how to see the tables

2019-07-19 Thread yasar arafath Kajamydeen
Hi all, can some one tell me what is the use of migrate command ? when i enter the command i got the following error (No migration to apply) . I dont know what to do further and also i would like to create tables (sqlite) . [image: migrate.JPG] Note - I am a beginer to Django .. Most