Mr
I use this password
Mr
In django
Nikolay
Yes
login and password are declared in settings, or imported from another file?
Nikolay
Ganesh
after clicking the submit button
Ganesh
An invalid form control with name='text' is not focusable. this error is coming
Ganesh
can anyone knows how to slove it
---
i am able to count the page views but how to make it count unique as its changing its view count per refresh of the page
---
you can count unique for registered users or take a look at django sessions
in using session its counting per refresh for the same visitor
Nikolay
in using session its counting per refresh for the same visitor
Sessions as i know are unique for every user, even anonymous, I’m sure there should be a way to make it work
Kyrylo
Hello, could you help me with allauth, if you could dm me
Nikolay
Session expires on every refresh?
https://docs.djangoproject.com/en/3.0/topics/http/sessions/#browser-length-sessions-vs-persistent-sessions
Mr. D @
Hello I use django under linux. Can I connect to access database?
Mr. D @
Great. How?
Mirco
Great. How?
Official documentation of Django and look for DATABASES settings
Mr. D @
Yes
Muflone
Yes
I hope you mean to use it in a Windows environment
Mr. D @
Mr. D @
I don’t see ms access in django official site database settings
Nikolay
Yes
check django-pyodbc
Mr. D @
Thanks I will check
Muflone
Well I like i said I use Linux..
Why would you want to use access on Linux?
Nikolay
Thanks I will check
And I don't think you shoud use MS Access, only if you have to
Mr. D @
I have a client with MS access and I need to sync to our database
Mr. D @
I agree. I don’t really want to use that. But I need to sync data
Muflone
There's some access driver for mdb databases, I think is libtld
Anonymous
I have a client with MS access and I need to sync to our database
https://stackoverflow.com/questions/40476729/is-it-possible-to-use-django-with-an-access-database
Anonymous
But Django isn't meant to sync data
Anonymous
You should probably use some ETL tool? Like Talend or so?
Mr. D @
check django-pyodbc
Doesn’t support django 3.0 :(
Mr. D @
I will find another way ( not django) Thanks
Mr. D @
But Django isn't meant to sync data
What would you use to sync data from ms access to postgressql? Check changes ms access each x minutes
Anonymous
Django is meant for web sites/apps. Either write a separate python script or use a separate tool to sync between databases. Don't use django for something it's not intended to do.
Mr. D @
Ok. Thanks.
Anonymous
Hello Guys. I am new to programming. I've been learning Python and Django for sometime and I want to get into frontend JS framework. I liked the concept of Vue but React is heavily used and I am confused what to do.
Anonymous
Nikolay
Lemme correct my question, can I use Django Template Language with React? If yes then how?
as I know there is 2 concepts how to do in, first - last url in django get every posible pattern, and leads to index page of React/Vue, second they working together independently, I'm using first , don't know if second is better
Anonymous
as I know there is 2 concepts how to do in, first - last url in django get every posible pattern, and leads to index page of React/Vue, second they working together independently, I'm using first , don't know if second is better
Ohh. I am getting some sense of it. You mean like, one way is to build each page using React/Vue and then map it on urls.py. Other is to build API and make both independent and use Router in front end only??
Anonymous
So in second way, I won't be able to use Django Templates. As the concept of context won't exist. Thanks anyway. 😊😊😊
Anonymous
So in second way, I won't be able to use Django Templates. As the concept of context won't exist. Thanks anyway. 😊😊😊
Well, to implement loose coupling, it is better to keep the frontend and backend separate
Anonymous
And as for Vue/React/Angular, all of them exist because in some way or the other they are better than the other framework. It all depends on use cases.
Anonymous
And as for Vue/React/Angular, all of them exist because in some way or the other they are better than the other framework. It all depends on use cases.
Okay. Thanks. I don't have specific use case so I am still wondering 😅. May be I should try them all.
Anonymous
I don't know any reasons to use django template engine with React/Vue
To explore new stuff 😁😁 I don't want to use jQuery. I even tried Brython and now trying something else.
Nikolay
I don't know any reasons to use django template engine with React/Vue
but some people do use it https://www.youtube.com/watch?v=xq532yn8gMA
Anonymous
but some people do use it https://www.youtube.com/watch?v=xq532yn8gMA
Thanks for the link. 😁😁 I will check it out.
Swapnil
I was hosted my django website on heroku server but at last I got Application Error......!!!
Swapnil
Anyone can tell me how to fix this error
Swapnil
??
Swapnil
I want host my website on heroku server
Swapnil
i have done all steps but at the end i got Application Error
Swapnil
ok sure
Swapnil
how can i send snap of that error
Swapnil
??
Swapnil
in group this is not allowed
Doragonsureiyā
how can i send snap of that error
To share code or error tracebacks please use an online pasting service, here is a list of suggested sites: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev
Swapnil
r u got it ??
Swapnil
http://swapcal.herokuapp.com/
Swapnil
check this link u will get it
Swapnil
anyone can tell me guys ??
Nikolay
check this link u will get it
no one except you could see logs
Swapnil
i already did that
Nikolay
i already did that
you already did what?
Swapnil
i already saw that logs
Nikolay
i already saw that logs
and we don't
Swapnil
error at H14
Nikolay
ok
you did somethig wrong deploying on heroku, couse your web app doesn't run, read heroku docs how to do in properly
Swapnil
this is second time bro i got same error