Re: Access denied for MySQL user in Django

2016-01-17 Thread Sergiy Khohlov
Using password no. Have you set notempty password with creating table permission? 15 січ. 2016 18:20 "Galil" пише: > Hi Fred, > > The user cdraccess is not the root user and it does not have the rights to > access table 'user'. I deleted the guest user as root but nothing changes. > The problem w

please help me !django admin search bar add placeholder variable and how to call it in modelAdmin! HELP!

2016-01-17 Thread superzhang16
I want to add placeholder to search bar .First,I override the template change_list.html and find the search bar ,I know add attribute placeholder ,and I defined a variable placeholder={{'''search_tip'}} to placeholder, as my app has three searchbar in different modelAdmin, I want to change the c

date picker

2016-01-17 Thread sum abiut
Hi, i am having some trouble with my date picker. I probably missing someting, the form fields are displaying fine, but some how the datepicker is no displaying. probably something to do with my jquery. Please help models.py class foreginexchange(models.Model): Sold_deal_number=models.CharFiel

Using web2py DAL in Django

2016-01-17 Thread Abhijit Chatterjee
Does anyone know how to use DAL (database abstraction layer) that web2py uses in Django? https://docs.djangoproject.com/en/1.9/intro/overview/ This comes out of django site: "For that matter, you don’t have to use Django’s database API, either. You can use another database abstraction layer, y

Re: Django 1.9 ./manage.py migrate error

2016-01-17 Thread Marisa DeMeglio
Ok I had to run these commands to make it work: $manage.py makemigrations $migrate --fake-initial. (for reference: django 1.9.1 / sqlite / OSX / python 3.4) On Sunday, January 17, 2016 at 9:48:22 AM UTC-8, Marisa DeMeglio wrote: > > Did you ever figure this out? I just upgraded from Django 1.8

Re: Django 1.9 ./manage.py migrate error

2016-01-17 Thread Marisa DeMeglio
Did you ever figure this out? I just upgraded from Django 1.8 to 1.9 and I'm having the same issue. On Saturday, December 12, 2015 at 10:01:39 PM UTC-8, Xuton Ion wrote: > > Thanks for the assistance so far. > > Reading https://docs.djangoproject.com/en/1.9/topics/migrations/ it says > I should

is there a util.py to automate renaming a Django app?

2016-01-17 Thread MW
Hi, I want to rename a Django app. Google search shows it's not quite a easy task, e.g. I found this: http://stackoverflow.com/questions/8408046/how-to-change-the-name-of-a-django-app I just wonder if there is a util.py to automate renaming a Django app? Thx! -- You received this message bec

Re: Setting up Django

2016-01-17 Thread ofeyofey
Hi Andrew, Wow MIT cool! Thanks for looking at that. I corrected it and ForeignKey which was spelt wrong. All working now. I can move on with this tutorial. Thanks again, On Saturday, 16 January 2016 21:27:31 UTC, ofeyofey wrote: > > Hi, > > I am following the Django tutorial on the Django site.