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

2019-07-19 Thread anchal agarwal
ckages/django/db/backends/sqlite3/base.py", line 66, in check_sqlite_version() File "/usr/local/lib/python3.7/site-packages/django/db/backends/sqlite3/base.py", line 63, in check_sqlite_version raise ImproperlyConfigured('SQLite 3.8.3 or later is required (found %s).' % Database.sqlite_version) dj

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

2019-07-19 Thread anchal agarwal
M Desh Deepak wrote: > 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 django.core.exceptions.Improper

Re: invalid literal for int() with base 10: ''

2019-06-21 Thread anchal agarwal
Hello lutalo I am also facing the same issue. If you find any solution please let me know . It would be very helpful. Thank you hi guys, am working on an ecommerce system, which has cart as an app, but i keep on getting this error and cant move on any help, here is my views.py , from the commandlin

Re: ValueError at /admin/

2019-06-16 Thread anchal agarwal
d then try to migrate > > On Sun 16 Jun, 2019, 1:38 PM anchal agarwal, > wrote: > >> I recently deleted one of my app from my website directory. For deleting >> app I removed that app name from settings.py also I removed it's folder >> I then applied python manage.py

Re: ValueError at /admin/

2019-06-16 Thread anchal agarwal
pp. How can I resolve this? On Sun, Jun 16, 2019 at 3:57 PM Dave Edwards wrote: > What's in your urls.py at the project level? Do you have a copy of the > urls.py that sit within the deleted app folder? > > On Sun, 16 Jun 2019, 09:09 anchal agarwal, > wrote: > >&g

Re: ValueError at /admin/

2019-06-16 Thread anchal agarwal
It's still showing the same error , is there any other way to resolve this issue ? On 16-Jun-2019 1:57 pm, "Karan Mittal" wrote: > You can try the sequence of commands, > Makemigrations > Migrate > It solved the problem for me. > Karan Mittal > > On Sun

ValueError at /admin/

2019-06-16 Thread anchal agarwal
I recently deleted one of my app from my website directory. For deleting app I removed that app name from settings.py also I removed it's folder I then applied python manage.py migrate But now i am unable to access my admin, it's giving an error ValueError: invalid literal for int() with base 10:

Re: user Form error

2019-06-07 Thread anchal agarwal
etan Ganji +91-900-483-4183 ganji.che...@gmail.com http://ryucoder.in On Fri, Jun 7, 2019 at 12:02 AM terry frank wrote: > Hello, from which repos ? > > On Thu, Jun 6, 2019 at 7:50 PM anchal agarwal > wrote: > >> Hello, >> I am making a simple user form but my form dat

user Form error

2019-06-06 Thread anchal agarwal
Hello, I am making a simple user form but my form data is not saving.It is showing this error 'UserForm' object has no attribute 'save' Here is my code. Please tell me where i am wrong views.py class UserFormView(View): form_class=UserForm template_name='music/registration_form.html' #display blan

Re: TemplateSyntaxError

2019-06-02 Thread anchal agarwal
You were rightthe error resolved when I removed curly braces from the if statement. Thanks alot !! On 01-Jun-2019 11:26 am, "sagar ninave" wrote: > you do not have ended for loop > > On Fri, May 31, 2019 at 7:41 PM anchal agarwal > wrote: > >> I am creatin

TemplateSyntaxError

2019-05-31 Thread anchal agarwal
I am creating a simple form in which when a user will select a particular song and press Favorite button a star image will get pop up in front of that song. But it is showing TemplateSyntaxError. Please correct me where I am wrong here is my template {{ album.album_title}} {{ album.artist }} {%

Re: Display image in template

2019-05-28 Thread anchal agarwal
Thanks Nitin. It worked !! -- 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 post to this group, send email to django

Re: Display image in template

2019-05-28 Thread anchal agarwal
Tue, May 28, 2019 at 11:42 PM Anirudh Jain wrote: > You will have to setup MEDIA path f8rst. All your uploded files will be > stored in that folder. STATIC path is used only for, well, static content > like css and js. > > On Tue, 28 May 2019, 23:31 anchal agarwal, > wrote: &

Display image in template

2019-05-28 Thread anchal agarwal
I want to display image dynamically from the database in a django template. I have used ImageField for this purpose. The code shows no error but it is only displaying an icon of image. This is my template file, here album is the context and album_logo is the variable in which i have stored my image

Re: URL conf error

2019-05-28 Thread anchal agarwal
which version of django you are using? i think it should be url(r'^$', views.index, name=index) On Tue, May 28, 2019 at 11:01 PM Madhur Kabra wrote: > I am getting the url conf error. I have attached the relevant files. > Thanks for the assistance > > -- > You received this message because you

Re: How to get object id from database?

2019-05-25 Thread anchal agarwal
e: > > Maybe try album__id (two underscores)? Or try album_title as defined in > the Album model. I also advise not to expose your primary key in the URL. > If the above did not work, check Django documentation: https://docs. > djangoproject.com/en/2.2/topics/http/urls/ > > On Saturd

How to get object id from database?

2019-05-25 Thread anchal agarwal
I am currently working on a django project in which there is a music app. The models of this app contains Albums and Songs. I want to return the http response when the django receives a url as /music/712 , here 712 is the object id. Please help me out in resolving the issue.Thanks in advance. Here

Re: Print data from Database in Django

2019-05-05 Thread anchal agarwal
Thanks alot , it worked !! On 05-May-2019 7:43 pm, "Thomas Lockhart" wrote: > Your context variable for all students is “stud”. Try changing that to > “Student” as you refer to it in your template. > > - Tom > > On May 5, 2019, at 7:09 AM, anchal agarwal > wrote:

Print data from Database in Django

2019-05-05 Thread anchal agarwal
I want to display the name of all the students from the Student model using cards , i have set it all up but it isn't displaying anything, here are my files models.py from django.db import models from django.utils import timezone from datetime import date from ckeditor.fields import RichTextField

Re: help with URLS.PY

2019-05-03 Thread anchal agarwal
I am also facing the same issue ,can you tell me how you resolved this issue? On 03-May-2019 9:57 pm, wrote: > > I resolved this. > > > On Thursday, May 2, 2019 at 5:21:59 PM UTC-4, randmw...@gmail.com wrote: >> >> new to django. so i have an app that displays an html page. i also have a menu on t