Re: Re: AttributeError at /admin/login/

2018-05-01 Thread Gerald Brown
As a follow-up with further information. This error occurs when on the Admin login screen I enter the user name and password and then click "SUBMIT". The Exception Location is: "/home/medrec2/.virtualenvs/medrecproj/lib/python3.5/site-packages/mysql/connector/conversion.py in _DATETIME_to_py

[Errno 10053] An established connection was aborted by the software in your host machine

2018-05-01 Thread Aditya Vartak
This is the error im getting and cant figure out the solution PS:I dont have antiVirus installed currently and firewall is on Windows 7 PC django version=1.10.5 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: AttributeError at /admin/login/

2018-05-01 Thread Gerald Brown
Finally solved this problem by installing python3-dev & libmysqlclient-dev and then I was able to install mysqlclient. Case closed!!! On Tuesday, 01 May, 2018 07:09 PM, Gerald Brown wrote: As a follow-up with further information.  This error occurs when on the Admin login screen I enter the u

Adding to all templates context via Middleware

2018-05-01 Thread Bernd Wechner
This interests me: https://teamtreehouse.com/community/django-how-can-i-retrieve-a-value-from-the-middleware alas no answer there, and time has changed things. I have checked form experience, that stuff added to response.context_data in middleware is not seen in templates (perhaps comes too l

Designed page in Adobe Muse as html not showing on browser

2018-05-01 Thread Asif Khan
I have designed a page in adobe muse and exported in html to use with Django all is perfect no errors but when run it is not showing anything on the browser. Asifs-iMac4K:aisite asifkhan$ python3 manage.py runserver Performing system checks... System check identified no issues (0 silenced).

Re: django does not open html file properly

2018-05-01 Thread Andy Grabow
Like I said: setup an nginx docker and save the reports in its base folder. Then link there from your Django app. Save yourself trouble of zipping, downloading unzipping and manually opening the reports! qop schrieb am Mo. 30. Apr. 2018 um 16:07: > You are right, it's too complicated. > I could

Re: Django and Fullcalendar.

2018-05-01 Thread Andy Grabow
Okay, then strip your template until you understand what’s happening. Elias Coutinho schrieb am Mo. 30. Apr. 2018 um 22:29: > No error, it returns a template full of cluttered tags. > > 2018-04-28 2:41 GMT-03:00 Andy : > >> What kind of error are you getting? >> >> -- >> You received this mess

django-breadcrumbs with CBVs?

2018-05-01 Thread Alexander Joseph
I'm trying to use django-breadcrumbs (http://django-bootstrap-breadcrumbs.readthedocs.io/en/latest/) which looks like it works with function-based views the way I'd like to implement breadcrumbs, but I'm using exclusively class-based views. I'm still newer to django so not sure how I can use th

Re: django-breadcrumbs with CBVs?

2018-05-01 Thread Yehor Smoliakov
Hello, Alex. It is not depends on the FBV method, only on uses in templates. On 1 May 2018 at 18:56, Alexander Joseph wrote: > I'm trying to use django-breadcrumbs (http://django-bootstrap- > breadcrumbs.readthedocs.io/en/latest/) which looks like it works with > function-based views the way I'd

Django, Arduino and Rfid

2018-05-01 Thread mhnm . developer
I need help.It is possible to make an application so that it is possible to read an rfid card assign it to a person (Model) at the time of your registration. I have the models person and access, I need to read the card and register the time of entry after registering the time of the exit -- Yo

Re: Broken?

2018-05-01 Thread Kevin O'Gorman
It is indeed a string. The string happens to represent an integer, a key of an item in another table. It is not an external reference because there are dated versions of the table and the referent may or may not exist in any one of them. It existed in the table in use at the time the record w

Re: url () to path()

2018-05-01 Thread Mike Morris
I'm not sure I understand the question, but here's my input: * You can use either url() or path() and achieve the same thing o However, I assume that the older url() is being deprecated, so you should use the newer path() if your version supports it * My cheat sheet is often the exa

OperationalError

2018-05-01 Thread Gerald Brown
I have a Django application that I am having problems with. In the Admin page I have 3 sections, ABC, DEF & XYZ. Each has 1 option to "Add/Change". In 2 of them when I click on the option it works fine. The third gives me the following error " *1054, "Unknown column 'xyz_xyz.first_name' in

Django bugfix releases: 2.0.5 and 1.11.13

2018-05-01 Thread Tim Graham
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2018/may/01/bugfix-releases/ -- 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