Re: migrating from sqlite to mysql breaks the site

2019-03-14 Thread Anh Nguyen
I see 2 ways to handle. 1: would you want to try postgresql ?, if this get the same trouble. We got the big problems. 2: try to create a blank project start from django-admin ... it’s not greater then 20mins. On Thu, Mar 14, 2019 at 5:26 PM Ayser shuhaib wrote: > In your settings, you put the

Re: migrating from sqlite to mysql breaks the site

2019-03-14 Thread Ayser shuhaib
In your settings, you put the port is 3306 but in the url it’s 8000. I think the problem is there. On Thu, 14 Mar 2019 at 12:07, Pedram Badakhchani < pedrambadakhch...@gmail.com> wrote: > Hi Anh, > > yes, everything works fine, the only problem is once I switched from > sqlite to mysql, > > I am

Re: migrating from sqlite to mysql breaks the site

2019-03-14 Thread Pedram Badakhchani
Hi Anh, yes, everything works fine, the only problem is once I switched from sqlite to mysql, I am able to access the admin backend and create a post... I am able to view the list of posts created, however when I click a given post, with SQLite I can navigate to a page showing the post

Re: migrating from sqlite to mysql breaks the site

2019-03-13 Thread Anh Nguyen
Could you insert a post on admin panel ? On Wed, Mar 13, 2019 at 10:38 PM Pedram Badakhchani < pedrambadakhch...@gmail.com> wrote: > bump > > On Wednesday, 6 March 2019 10:44:56 UTC, Pedram Badakhchani wrote: >> >> specifically in the get_absolute_url method. >>> >> >> I don't understand why

Re: migrating from sqlite to mysql breaks the site

2019-03-13 Thread Pedram Badakhchani
bump On Wednesday, 6 March 2019 10:44:56 UTC, Pedram Badakhchani wrote: > > specifically in the get_absolute_url method. >> > > I don't understand why this works fine with sqlite but breaks in mysql. > > thanks for any help. > -- You received this message because you are subscribed to the

Re: migrating from sqlite to mysql breaks the site

2019-03-06 Thread Pedram Badakhchani
> > specifically in the get_absolute_url method. > I don't understand why this works fine with sqlite but breaks in mysql. thanks for any help. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

migrating from sqlite to mysql breaks the site

2019-03-06 Thread Pedram Badakhchani
Hi All, I am currently going through Django 2 by Example Book by Antonio Melé. Unfortunately I have a problem with the source code provided on the associated git hub pages: https://github.com/PacktPublishing/Django-2-by-Example specifically in chapter 1 :