This list is dedicated to the discussion of developing Django itself, not 
answering usage questions. Please continue the discussion on the 
django-users thread: 

https://groups.google.com/d/topic/django-users/iuspogePH3k/discussion

On Wednesday, August 29, 2018 at 7:15:57 AM UTC-4, Sonali Vighne wrote:
>
> Hi,
>
> Below is the my models.py
>
>  
>
>  
>
> from django.db import models
>
> #from django_mysql.models import *Model*
>
>  
>
> class *Category*(models.Model):
>
>         name = models.CharField(max_length=128, unique=True)
>
>  
>
>         def *__unicode__*(*self*):
>
>                 return *self*.name
>
>             
>
> class *Page*(models.Model):
>
>         category = models.ForeignKey(Category, on_delete=models.CASCADE,)
>
>         title = models.CharField(max_length=128)
>
>         url = models.URLField()
>
>         views = models.IntegerField()
>
>  
>
>         def *__unicode__*(*self*):
>
>                 return *self*.title
>
>  
>
> *From:* django-d...@googlegroups.com <javascript:> <
> django-d...@googlegroups.com <javascript:>> *On Behalf Of *Raghavendrachari 
> k
> *Sent:* 29 August 2018 09:42
> *To:* django-d...@googlegroups.com <javascript:>
> *Subject:* Re: Django : Change Backend as mysql and create sample example 
> using django ORM
>
>  
>
> Hi Sonali,
>
> Could you please paste the models.py file ??
>
> Might be there is some syntax error in the models you have created.
>
> Regards,
>
> Raghav
>
>  
>
> On Tue, Aug 28, 2018 at 9:41 PM parmeshwar deharkar <
> parmeshwa...@gmail.com <javascript:>> wrote:
>
> hi sonali 
>
>  you install sql libray in your project package then edit the setting.py 
> file at django framework with database .
>
> I hope your problem will be solve...
>
>  
>
> On Mon, Aug 27, 2018 at 4:54 PM Sonali Vighne <sonali...@gmail.com 
> <javascript:>> wrote:
>
> Hi,
>
> I have tried a lot to change Django back-end as MySQL but not able to 
> achieve this. 
>
> please help for the same.
>
>  
>
> thanks in advance. :) 
>
>  
>
>  
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-develop...@googlegroups.com <javascript:>.
> To post to this group, send email to django-d...@googlegroups.com 
> <javascript:>.
> Visit this group at https://groups.google.com/group/django-developers.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-developers/2c673679-4532-4147-a072-5b712b62a621%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/django-developers/2c673679-4532-4147-a072-5b712b62a621%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-develop...@googlegroups.com <javascript:>.
> To post to this group, send email to django-d...@googlegroups.com 
> <javascript:>.
> Visit this group at https://groups.google.com/group/django-developers.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-developers/CAFyF%2BQg5LcYkXWygyhdu03ciqYUBMifNBWnS923Mstq8jfTnLA%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/django-developers/CAFyF%2BQg5LcYkXWygyhdu03ciqYUBMifNBWnS923Mstq8jfTnLA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-develop...@googlegroups.com <javascript:>.
> To post to this group, send email to django-d...@googlegroups.com 
> <javascript:>.
> Visit this group at https://groups.google.com/group/django-developers.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-developers/CAHjM6E5Ky9BDUFi4V887V%2BkMasb6%2BZJ8V7nHKCYqgeUAun0FQA%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/django-developers/CAHjM6E5Ky9BDUFi4V887V%2BkMasb6%2BZJ8V7nHKCYqgeUAun0FQA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/a643b239-23df-4a20-9e07-b2ec5f34ad8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to