Re: Django cms and templates

2019-09-19 Thread MEGA NATHAN
Hi. you check app name 127.0.0.8/app name *Regards* Meganathan G On Thu, Sep 19, 2019 at 4:30 AM Perceval Maturure wrote: > Dear all > > I have a django project done with Django 2.1 and successfully made an > apphook to the cms page bt the problem is that the template file does not >

Re: ModuleNotFoundError: No module named :

2019-09-24 Thread MEGA NATHAN
ni >> wrote: >> >>> Are you supposed to be using a virtualenv and you don't have that >>> activated? >>> >>> Can you run *pip freeze | grep -i django* and share the output? >>> >>> -- >>> Regards >>>

Re: ModuleNotFoundError: No module named :

2019-09-25 Thread MEGA NATHAN
hi. populate script error in line 12 *Regards* Meganathan G On Wed, Sep 25, 2019 at 9:57 AM Abu Yusuf wrote: > share your full project here. > > On Tue, Sep 24, 2019 at 10:43 PM MEGA NATHAN > wrote: > >> >> >> Hi. >> again i

Re: cannot import path in urls

2019-10-02 Thread MEGA NATHAN
Hi. In which file i rewrite app/urls are main file url i write... *Regards* Meganathan G On Thu, Oct 3, 2019 at 10:21 AM Suraj Thapa FC wrote: > In urls.py > Write > from django.urls import path > > On Thu, 3 Oct, 2019, 10:02 AM MEGA NATHAN, > wrote: >

database could't connect in python to atom

2019-10-22 Thread MEGA NATHAN
Hi. AttributeError: module 'mysql.connector' has no attribute 'connect' regards Meganathan, -- 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 to django-users+un

Re: simple Rest_framework cannot import name in api view

2019-11-12 Thread MEGA NATHAN
ava script\drf_api\core\views.py", line 8, in from core.serializers import PostSerializer ImportError: cannot import name 'PostSerializer' from 'core.serializers' (C:\Users\Meghanathan\Desktop\java script\drf_api\core\serializers.py) On Wednesday, November 13, 2019 at

Re: simple Rest_framework cannot import name in api view

2019-11-12 Thread MEGA NATHAN
yeah bro *Regards* Meganathan G On Wed, Nov 13, 2019 at 10:15 AM Suraj Thapa FC wrote: > It should be like.. APIView not like APIview > > On Wed, 13 Nov 2019, 9:33 am MEGA NATHAN, > wrote: > >> patterns = getattr(self.urlconf_module, "urlpatterns", &g

FieldError at / Django models how to reslove this issue....

2019-12-19 Thread MEGA NATHAN
Hi all. Cannot resolve keyword 'published_date_lte' into field. Choices are: author, author_id, comments, create_date, id, published_date, text, title this are models: from django.db import models from django.utils import timezone from django.urls import reverse # Create your models here.

post list view not found NoReverseMatch

2020-01-29 Thread MEGA NATHAN
Hi All. And this my view page if any bug please tell me. from django.shortcuts import render, get_object_or_404, redirect from django.contrib.auth.decorators import login_required from blog.models import Post, Comment from django.utils import timezone from blog.forms import PostForm, CommentForm f

Re: Python Django Training

2020-02-03 Thread MEGA NATHAN
I am also interested to attend the training. *Regards* Meganathan G On Mon, Feb 3, 2020 at 6:03 PM Chuck wrote: > i am also interested please add me. > > Thanks, > Chuck > > On Sunday, February 2, 2020, 10:27:26 PM PST, sagar ninave < > sagarnin...@gmail.com> wrote: > > > i am also int