I have a django project that includes a popup modal where the modal has
tabs as links one of these tabs once the user clicked it must perform a
function and retrieve data from the database.
The problem is that once the user clicked the tab nothing happen as is the
function isn't initialize.
u
0
I have a django project that is connected to SQL server database and when i
tried to click button to retrieve data from the database the system crash .
i am trying to convert the below syntax in ORM into raw sql:
dbEntry = Person_.objects.get(pk =pk)
Note : *I am not using ORM*
once i trie
i have a function that retrieve data from sql server database where i am
using **fetchall()** then for loop
the retrieved data are all printed on the **cmd console** but when i tried
to display these result on the template it **only display the last record**.
views.py
def search(reque
js and bootstrap files are loaded correctly.
On Saturday, September 28, 2019 at 10:56:41 AM UTC+3, leb dev wrote:
>
> I have a django project that includes cards where each card contains a
> collapse that will hide or show the data.
>
> Problem is once i do a **foreach loop** t
I have a django project that includes cards where each card contains a
collapse that will hide or show the data.
Problem is once i do a **foreach loop** the cards appear but the collapse
is not working and doesn't display any data.
I used the below steps:
create function in views.py
=
t;>
>>
>>
>>
On Wednesday, September 25, 2019 at 2:39:16 PM UTC+3, laya Mahmoudi wrote:
>
> Would you send your html codes relating to pagination
>
> در تاریخ چهارشنبه ۲۵ سپتامبر ۲۰۱۹، ۱۵:۰۳ leb dev
> نوشت:
>
>> i tried your answer and display an e
i tried your answer and display an error :
That page number is not an integer
--
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...@googlegro
no i am using function based views
--
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 view this discussion on the web
i have a django project and it includes pagination i do not know where is
the error in my code but once i tired to go to the next or previous page it
crash and display the below error :
> can only concatenate str(not ""NoneType) to str
query=request.GET.get("search")
pa
I now how to use django pagination with ORM django after filtering the
required data and put in into *pagination div*
*queryset_list = employee.objects.all()*
*query=request.GET.get("q")*
*if query:*
*queryset_list=queryset_list.filter(*
* Q(name__icontains=query)
I have a django project that is connected to MS SQL using **pyodbc**.
I am able to connect and retrieve data.
But the problem is when i tried to filter the data on multiple fields using
**WHERE & LIKE** the system crash crash and display the below error.
> 'tuple' object has no attribute 'for
i have a django code that connect to sql server database and i am trying to
select values using *like *but once i try it it crash and the system
display the below error:
('The SQL contains 0 parameter markers, but 1 parameters were supplied',
'HY000')
views.py
from django.shortcut
i have a django project that is connected to sql server database i am
trying to write a *select query * #convert the Django ORM into SQL query
print("sql query = ",FilterQuery.query)
*select * from table name where filed name = user input *
*can anyone help me with this?*
--
You recei
i have a django project that is connected to SQL Server i tried to
retrieve data from the database.
if i try to display all the data it run correct and display all the values.
but if i try to display the data in an **html table** it doesn't display
anything.
views.py
===
def connect(
i have a django project that is connected to SQL Server i tried to
retrieve data from the database.
if i try to display all the data it run correct and display all the values.
but if i try to display the data in an **html table** it doesn't display
anything.
views.py
===
def connect(
yes i am on the same LAN and i am able to get remote connection and ping
--
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.c
yes i can get a remote connection with the server and i can do ping so
its reachable.
and about the port its the default port used to connect ms sql server 1433.
isn't this right ?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsub
i tried your answer also and did not work i do not know what is the
problem and how to fix it
--
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+uns
mailto:
> django...@googlegroups.com ]
> *Sent:* Thursday, August 29, 2019 12:16 PM
> *To:* Django users
> *Subject:* Re: help me to fix this issue with database connection
>
>
>
> DATABASES = {
> 'default': {
> 'ENGINE': 'django.db.ba
#x27; SQL Server',
}
# 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
On Thursday, August 29, 2019 at 8:34:17 AM UTC+3, leb dev wrote:
>
> i have a django
i have a django project that need to be connected to MS SQL Server i am
using *pyodbc package.*
*once i run the program the system display the below error:*
djago.db.utils.operationalError:('08001','[08001] [microsoft][odbc sql
server driver]neither dsn nor server keyword supplied (0)
(sqldri
i have a django project that need to be connected with MS SQL Server . Iam
using pyodbc package in order to make the connection but the problem is
that once i try it it crash and display the below error :
djago.db.utils.operationalError:('08001','[08001] [microsoft][odbc sql
server driver]neith
I have a django project that make a connection between django and SQL
server the problem is that once the system run it display the below error:
> djago.db.utils.operationalError:('08001','[08001] [microsoft][odbc sql
> server driver]neither dsn nor server keyword supplied (0)
> (sqldriverconnec
23 matches
Mail list logo