Multiple models files under a folder may cause error when makemessages

2019-05-29 Thread ANi
As I only have one app but with many models, so I split the models into separate files under a model folder. It works well until I run makemessages and it gives out error messages sort of like this: CommandError: errors happened while running msguniq E:\Projects\as\locale\django.pot:353:3: synt

Re: python manage.py makemirations

2019-05-29 Thread Abu Yusuf
You didn't add your app name in 'Installed_Apps'. Add this first and then run again. On Thu, May 30, 2019 at 12:17 AM sagar ninave wrote: > i have created new project and i am defining model and doing makemigratins > but it is showing no changes detected what is problem i don't understand > > --

Re: python manage.py makemirations

2019-05-29 Thread Juhana Jauhiainen
To create the initial migrations for a app run python manage.py makemigrations Where is the name of the app (folder) you've created. This will create migrations folder under the apps folder. -Juhana On Wed, May 29, 2019 at 9:29 PM yavoucko lye wrote: > > -- > You received this message becaus

Re: problem with form

2019-05-29 Thread Saeed Pooladzadeh
I sent detail on a new post "why form cant save"" در چهارشنبه 29 مهٔ 2019، ساعت 3:52:30 (UTC+4:30)، Saeed Pooladzadeh نوشته: > > Hi > > I'm trying to make a simple crud applicatio and learn from it. I wonder > why my form can't save the data. Here cames my view: > > from django.shortcuts import r

why this form can't save

2019-05-29 Thread Saeed Pooladzadeh
Hi I'm trying to make a simple crud applicatio and learn from it. I wonder why my form can't save the data. Here cames my view: from django.shortcuts import render from saeed.forms import SmodelForm from saeed.models import Smodel from django.shortcuts import render, redirect # Create you

Re: problem with form

2019-05-29 Thread Saeed Pooladzadeh
There is no error!! but the form doesn't save!! Let me know wich part you nead exactly. در پنجشنبه 30 مهٔ 2019، ساعت 0:23:38 (UTC+4:30)، Joe Reitman نوشته: > > Can you post the error? > > On Tuesday, May 28, 2019 at 6:22:30 PM UTC-5, Saeed Pooladzadeh wrote: >> >> Hi >> >> I'm trying to make a si

Re: Where to find my web app within mysite directory ?

2019-05-29 Thread Joseph Jones
Hi Anirudh, Indeed it was in the same file as manage.py, thank you for the help, Joseph On Tue, May 28, 2019 at 11:21 PM Anirudh Jain wrote: > If the command you had run did not show any error, then it should be in > the same folder as that of manage.py > > On Wed, 29 May 2019, 01:16 Joseph Jon

Re: problem with form

2019-05-29 Thread Joe Reitman
Can you post the error? On Tuesday, May 28, 2019 at 6:22:30 PM UTC-5, Saeed Pooladzadeh wrote: > > Hi > > I'm trying to make a simple crud applicatio and learn from it. I wonder > why my form can't save the data. Here cames my view: > > from django.shortcuts import render > from saeed.forms impor

Re: python manage.py makemirations

2019-05-29 Thread yavoucko lye
-- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. V

Re: python manage.py makemirations

2019-05-29 Thread Alex Kimeu
You have to add your app in the settings.py file then migrate. On Wed, 29 May 2019, 21:22 Robert Wahoo, wrote: > Regardless, it’s not an issue. Just migrate > > > > > > *From: *"django-users@googlegroups.com" > on behalf of sagar ninave > *Reply-To: *"django-users@googlegroups.com" > > *Date

Re: python manage.py makemirations

2019-05-29 Thread Robert Wahoo
Regardless, it’s not an issue. Just migrate From: "django-users@googlegroups.com" on behalf of sagar ninave Reply-To: "django-users@googlegroups.com" Date: Wednesday, May 29, 2019 at 2:17 PM To: Django users Subject: python manage.py makemirations i have created new project and i am definin

Re: python manage.py makemirations

2019-05-29 Thread yavoucko lye
i think you forget to add your application in setting.py On Wed, May 29, 2019 at 6:19 PM Robert Wahoo wrote: > Did you make model changes? > > > > *From: *"django-users@googlegroups.com" > on behalf of sagar ninave > *Reply-To: *"django-users@googlegroups.com" > > *Date: *Wednesday, May 29, 2

Re: python manage.py makemirations

2019-05-29 Thread Alex Kimeu
That's ok. There's no any problem. Just go ahead and migrate. On Wed, 29 May 2019, 21:18 Robert Wahoo, wrote: > Did you make model changes? > > > > *From: *"django-users@googlegroups.com" > on behalf of sagar ninave > *Reply-To: *"django-users@googlegroups.com" > > *Date: *Wednesday, May 29,

Re: python manage.py makemirations

2019-05-29 Thread Robert Wahoo
Did you make model changes? From: "django-users@googlegroups.com" on behalf of sagar ninave Reply-To: "django-users@googlegroups.com" Date: Wednesday, May 29, 2019 at 2:17 PM To: Django users Subject: python manage.py makemirations i have created new project and i am defining model and doing

python manage.py makemirations

2019-05-29 Thread sagar ninave
i have created new project and i am defining model and doing makemigratins but it is showing no changes detected what is problem i don't understand -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receivin

Re: How to use permissions on a CreateView class?

2019-05-29 Thread Ken Whitesell
Fellipe, In addition to the permissions_required variable, I believe you also need to include the PermissionsRequired mixin in your class definition: https://docs.djangoproject.com/en/2.2/topics/auth/default/#the-permissionrequiredmixin-mixin Ken On Tuesday, May 28, 2019 at 5:54:39 PM UTC-4, F

Re: Django website help

2019-05-29 Thread Luka Nik
Found my mistake. Didn't run server from the appropriate location. Thanks anyway On Wed, 29 May 2019, 4:27 pm salimon jamiu olashile, < tunedae1shi...@gmail.com> wrote: > Can you share more details about the problem? Screenshot or trace back > anything > > On Wed, 29 May 2019 at 2:59 PM, Luka Nik

Re: Django website help

2019-05-29 Thread salimon jamiu olashile
Can you share more details about the problem? Screenshot or trace back anything On Wed, 29 May 2019 at 2:59 PM, Luka Nik wrote: > I can't build my Django website for some reason and I can't figure out > why. Do you have any ideas what should I do? > > Default Django site worked, but when I added

RE: Template not showing my post details

2019-05-29 Thread a
Hi, I can help you. Let me know about your project. Sent from Mail for Windows 10 From: cixtus anyanwu Sent: Wednesday, May 29, 2019 5:41 PM To: Django users Subject: Re: Template not showing my post details Yeah i have some contents on the models in the databse On Wednesday, May 29, 2019 at 10

Possible RSS-Feed-bug related to Debian Bug #926074

2019-05-29 Thread c . buhtz
I am not a Django user neither I have an idea what it is. I found a problem with the RSS-Feeds of the Debian-Package-Tracker which runs with a "Django object". They told me to open a bug report on Django for this but I am not the user. And I don't know technical details. It would be nice if s

Django website help

2019-05-29 Thread Luka Nik
I can't build my Django website for some reason and I can't figure out why. Do you have any ideas what should I do? Default Django site worked, but when I added another route, the site couldn't be reached. Any help would be appreciated. -- You received this message because you are subscribed to

Re: Template not showing my post details

2019-05-29 Thread Joe Reitman
What does your view look like? On Wednesday, May 29, 2019 at 4:26:55 AM UTC-5, cixtus anyanwu wrote: > > Help me out here. Whats wrong with django? > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiv

Re: URL conf error

2019-05-29 Thread Joe Reitman
The problem is probably with your view or a naming issue. You also have problems pointed out by others with the syntax in your urls. Good luck. On Wednesday, May 29, 2019 at 7:17:23 AM UTC-5, Madhur Kabra wrote: > > Thanks for your answer, I have imported the views correctly, and made the > chan

Re: URL conf error

2019-05-29 Thread Madhur Kabra
Thanks for your answer, I have imported the views correctly, and made the changes what you suggested. But its' still not working On Wednesday, May 29, 2019 at 12:53:31 AM UTC+5:30, Victor H. Velasquez Rizo wrote: > > Hi Madhur. > > On your urls.py, > *change: *url('^$', views.index, name=index),

Re: URL conf error

2019-05-29 Thread Madhur Kabra
I am not able to run the server hence, can't go to the url localhost:8000/music On Wednesday, May 29, 2019 at 12:55:18 AM UTC+5:30, Joe Reitman wrote: > > What do your views look like? > > I see you have an app named 'music' in your project URL Config that > includes 'music.urls'. Your music app

Re: Template not showing my post details

2019-05-29 Thread Leydson Vieira
Can you show me your views.post_list? Em qua, 29 de mai de 2019 às 06:27, cixtus anyanwu escreveu: > Help me out here. Whats wrong with django? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop rec

Re: Template not showing my post details

2019-05-29 Thread cixtus anyanwu
Yeah i have some contents on the models in the databse On Wednesday, May 29, 2019 at 10:32:42 AM UTC+1, 5pence wrote: > > Do you have any blogs posts in your model? > > On Wed, 29 May 2019 at 10:27, cixtus anyanwu > wrote: > >> Help me out here. Whats wrong with django? >> >> -- >> You received

Re: Template not showing my post details

2019-05-29 Thread 5pence
Do you have any blogs posts in your model? On Wed, 29 May 2019 at 10:27, cixtus anyanwu wrote: > Help me out here. Whats wrong with django? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receivi

Template not showing my post details

2019-05-29 Thread cixtus anyanwu
Help me out here. Whats wrong with django? -- 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+unsubscr...@googlegroups.com. To post to this group, send