RE: edit_view() missing 1 required positional argument: 'id'

2021-09-14 Thread Vikram J
Good Day, I got this error how can I fixed it, plz help me out, views.py def edit_view(request, id , *args, **kwargs): d1 = data.objects.get(id=id) if request.method == 'POST': form = dataForm(request.POST, instance=d1) if form.is_valid(): form.save()

python manage.py magrate gives the below error with SQL SERVER (Please help)

2021-08-10 Thread Vikram Gajjala
SQL Server 2019 Python 3.9.6 pip 21.2.3 python -m django --version 3.2.6 asgiref 3.4.1 astroid 2.6.6 colorama 0.4.4 Django 3.2.6 django-mssql-backend 2.8.1 django-pyodbc1.1.3 django-tastypie 0.14.3 isort5.9.3 lazy-obj

Form not visible on the add page

2020-05-03 Thread Vikram Jaiswal
I am not able to see the form on admin page to add the data First -First -settings.py -urls.py -travello -migrations -urls.py -models.py -admin.py here is the models.py from django.db import models # Create

Form is not getting displayed on django admin page

2020-05-03 Thread Vikram Jaiswal
above is the image of the error admin.py from django.contrib import admin from travello.models import Destination class ContactAdmin(admin.ModelAdmin): Clist_display = [ 'name', 'department', 'lalal'] # Register your models here. admin.site.register(Destination,ContactAdmin) models.py from dja

Projects for Beginners

2019-01-31 Thread Vikram Jadhav
Hey there!! Hope you are doing well in Django. I am a beginner in Django and completed couples of a tutorial in Django. Please suggest project ideas or resources of Django projects to learn for me as beginners. -- You received this message because you are subscribed to the Google Groups "Djang

Projects for Beginners

2019-01-31 Thread Vikram Jadhav
Hey there!! Hope you are doing well in Django. I am a beginner in Django and completed couples of a tutorial in Django. Please suggest project ideas or resources of Django projects to learn for me as beginners. -- You received this message because you are subscribed to the Google Groups "Django

Retrieving data from Oracle DB table with column name containing special character

2011-01-06 Thread Vikram
alled Sess. 3. Running python manage.py syncdb The step 3 fails with error: __ File "D:\Vikram\Software\PythonEncode\lib\site-packages\django\db \models\loading.py", line 78, in load_app models = import_module('.models', app

Building app on already existing set of DB tables

2010-12-22 Thread Vikram
that has read-only access on v$session table, query the data and present it in webpage. Do I write views that directly talk to these tables, pull data and render it online? Or is there a better way? Thanks Vikram -- You received this message because you are subscribed to the Google Groups