what is the meaning of this error

2019-07-06 Thread Saeed Pooladzadeh
Hello I try to use wagtail cms and my ide is visual studio with python plugin. When I wtite this cmand : $ wagtail start mysite I get this error: ERROR: Could not find a version that satisfies the requirement mysite (from versions: none) ERROR: No matching distribution found for mysite -

problem with form

2019-05-30 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

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: &g

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

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

problem with form

2019-05-28 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

what is the meaning of this error

2019-05-27 Thread Saeed Pooladzadeh
hello Can you please help me to understand the meaning of this error: NameError at /emp name 'redirect' is not defined Request Method: POST Request URL: http://localhost:62597/emp Django Version: 2.2 Exception Type: NameError Exception Value: name 'redirect' is not defined Exception

What's wrong with this model

2019-05-27 Thread Saeed Pooladzadeh
Hello I made this model and think everything is fine: class Smodel(models.Model): eid=models.AutoField(primary_key=True) # eid=models.IntegerField(default=0) elogin = models.CharField(max_length=8) epassword= models.CharField(max_length=8)

Re: AutoField

2019-05-26 Thread Saeed Pooladzadeh
lly makes an id autofield primary > key if nothing else is set as pk. > > On Sun, May 26, 2019 at 9:05 PM Bob Gailer > > wrote: > >> On May 26, 2019 8:16 PM, "Saeed Pooladzadeh" > > wrote: >> > >> > >> > Hi >> > >>

AutoField

2019-05-26 Thread Saeed Pooladzadeh
Hi When I add this line in my model: eid=models.AutoField() I see error in my migration!! What is the problem? -- 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

Re: What is this error mean and what can I do

2019-05-26 Thread Saeed Pooladzadeh
and still table will be created but is the best > practice to run it so that you can preview how table will look like. > Remeer to perform migrations each time you create or modify your models > > Best Regards > > Ramadhan Ngallen > On 27 May 2019, 01:15 +0300, Saeed Pool

What is this error mean and what can I do

2019-05-26 Thread Saeed Pooladzadeh
Hi This is my model: from django.db import models from django.conf import settings # Create your models here. class Smodel(models.Model): eid=models.IntegerField() elogin = models.CharField(max_length=8) epassword= models.CharField(max_length=8)

Re: Right method for url mapping

2019-05-26 Thread Saeed Pooladzadeh
commend you go to Mozilla's Django tutorial to learn a bit. They > have some good explanations with phenomenal tutorials. > > Does that make sense? > > On Sunday, May 26, 2019 at 6:41:03 AM UTC-4, Saeed Pooladzadeh wrote: >> >> Can you please explain. But I have seen in on

Re: Right method for url mapping

2019-05-26 Thread Saeed Pooladzadeh
y, May 25, 2019 at 7:14:18 PM UTC-4, Saeed Pooladzadeh wrote: >> >> Hello >> >> Wich of them is the right method for url mapping: >> >> path('', views.show, name='index'), >> >> or >> >> path('index', views.show), >> >&

Right method for url mapping

2019-05-25 Thread Saeed Pooladzadeh
Hello Wich of them is the right method for url mapping: path('', views.show, name='index'), or path('index', views.show), Regards, Saeed -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: How to use wsgi when using external frame works

2019-04-23 Thread Saeed Pooladzadeh
Thanks for your reply. Can you please explain more and? What command should I add? I didn't find anything on the web? در سه‌شنبه 23 آوریل 2019، ساعت 16:16:26 (UTC+4:30)، Saeed Pooladzadeh نوشته: > > Hello > > *.* > .I want to use an external frame work and make an app but

How to use wsgi when using external frame works

2019-04-23 Thread Saeed Pooladzadeh
Hello *.* .I want to use an external frame work and make an app but having problem with wsgi.py Should I chang it or add it some commands? regards Saeed -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

making bots with Django for instagram

2019-04-21 Thread Saeed Pooladzadeh
Hello Please if you have any experience or idea on making bots for instagram with django share with me. thanx -- 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

Re: Django external libraries

2019-04-08 Thread Saeed Pooladzadeh
Hello I am trying to install instabot. It a famous Instagram bot. Yes, I can install it. Should I add anything in wsgi.py section because when I try to run the project IDE shows error in this section. در یکشنبه 7 آوریل 2019، ساعت 14:28:18 (UTC+4:30)، Saeed Pooladzadeh نوشته: > >

Re: Django external libraries

2019-04-07 Thread Saeed Pooladzadeh
understand? در یکشنبه 7 آوریل 2019، ساعت 14:28:18 (UTC+4:30)، Saeed Pooladzadeh نوشته: > > Hello > > I've added an external library in django. I have installed in installed > apps but when I try to migrate the model I keep getting this error: > > ERR

Re: Django external libraries

2019-04-07 Thread Saeed Pooladzadeh
I removed them but still see the error. در یکشنبه 7 آوریل 2019، ساعت 14:28:18 (UTC+4:30)، Saeed Pooladzadeh نوشته: > > Hello > > I've added an external library in django. I have installed in installed > apps but when I try to migrate the model I keep getting this er

Django external libraries

2019-04-07 Thread Saeed Pooladzadeh
Hello I've added an external library in django. I have installed in installed apps but when I try to migrate the model I keep getting this error: ERRORS: ?: (admin.E408) 'django.contrib.auth.middleware.AuthenticationMiddleware' must be in MIDDLEWARE in order to use the admin application. ?:

Re: how to find out if instagram accept the username and password of the bot?

2019-04-01 Thread Saeed Pooladzadeh
this? Regards, Saeed در جمعه 29 مارس 2019، ساعت 23:43:30 (UTC+4:30)، Saeed Pooladzadeh نوشته: > > Hello, > > I'm a beginner at Django and Python and now plan to make a simple bot site > for Instagram with instabot: > > > https://github.com/instabot-py/instabot.py > > My

Re: how to find out if instagram accept the username and password of the bot?

2019-03-29 Thread Saeed Pooladzadeh
gt; password. > > On Sat, 30 Mar 2019, 12:44 am Saeed Pooladzadeh, > wrote: > >> Hello, >> >> I'm a beginner at Django and Python and now plan to make a simple bot >> site for Instagram with instabot: >> >> >> https://github.com/instabot-

how to find out if instagram accept the username and password of the bot?

2019-03-29 Thread Saeed Pooladzadeh
Hello, I'm a beginner at Django and Python and now plan to make a simple bot site for Instagram with instabot: https://github.com/instabot-py/instabot.py My problem is how can I find out if Instagram accept the username and password of the user or the username and password is wrong. How can

Re: keep getting an error on there is no module

2019-01-14 Thread Saeed Pooladzadeh
در یکشنبه 13 ژانویهٔ 2019، ساعت 7:28:11 (UTC-8)، Saeed Pooladzadeh نوشته: > > :In my Django project while I have made an app named employee. And have > registered it in my apps but I keep getting this error: > > No module named 'employee' > > Leading to the app not being

Re: keep getting an error on there is no module

2019-01-14 Thread Saeed Pooladzadeh
his error, when want to run the server? > do you have any models inside of that app? > > > нед, 13. јан 2019. у 16:28 Saeed Pooladzadeh је > написао/ла: > >> :In my Django project while I have made an app named employee. And have >> registered it in my apps but I keep ge

keep getting an error on there is no module

2019-01-13 Thread Saeed Pooladzadeh
:In my Django project while I have made an app named employee. And have registered it in my apps but I keep getting this error: No module named 'employee' Leading to the app not being able to run properly. please inform. -- You received this message because you are subscribed to the

how to insert or rewrite a text box value in a database

2018-12-29 Thread Saeed Pooladzadeh
Hi .In this tutorial, there is a complete example of CRUD using function base and class base https://rayed.com/posts/2018/05/django-crud-create-retrieve-update-delete/ but my question is if we want to insert a textbox value to the database what we should do. thanks, -- You received this

Re: inserting data in django using forms

2018-12-29 Thread Saeed Pooladzadeh
:26:36 UTC+2, Saeed Pooladzadeh wrote: >> >> Hello, >> >> For inserting and editing data in a database should we use Django forms? >> >> thanks >> Saeed >> > -- > You received this message because you are subscribed to the Google Groups > &quo

inserting data in django using forms

2018-12-29 Thread Saeed Pooladzadeh
Hello, For inserting and editing data in a database should we use Django forms? thanks Saeed -- 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

Re: How to send parameters to templates and adjust the page url by path?

2018-12-13 Thread Saeed Pooladzadeh
Thank you Ira در چهارشنبه 12 دسامبر 2018، ساعت 19:21:26 (UTC-8)، lingo...@gmail.com نوشته: > > Hello, > > How to send parameters to templates and adjust the page url by path? > > regards, > > Saeed > -- You received this message because you are subscribed to the Google Groups "Django users"

admin page not found!!

2018-12-03 Thread Saeed Pooladzadeh
Hello Here comes my url page code from django.contrib import admin from django.urls import path urlpatterns = [ path('admin/', admin.site.urls), #url(r'^polls/', include('polls.urls')), ] When I run the the code and want to go to admin page I see this message: Page not found!

Re: problem on django contrib

2018-11-24 Thread Saeed Pooladzadeh
here comes my project: https://drive.google.com/file/d/1IY3x3i6u2TMc20mlCqoXIid62GtbqzaU/view?usp=sharing can you please give a try to it and let me know what is wrong and I can't see the admin page? On Sat, Nov 24, 2018 at 7:59 PM Saeed Pooladzadeh wrote: > here comes my admin page c

Re: problem on django contrib

2018-11-24 Thread Saeed Pooladzadeh
for regex. > Your problem is not clear to me. If it's something on the admin page. What > exactly are you trying to do? Post everything relevant. > Sincerely yours, > > Joel G Mathew > > > > On Sun, 25 Nov 2018 at 09:16, Saeed Pooladzadeh > wrote: > >>

Re: problem on django contrib

2018-11-24 Thread Saeed Pooladzadeh
's something on the admin page. What > exactly are you trying to do? Post everything relevant. > Sincerely yours, > > Joel G Mathew > > > > On Sun, 25 Nov 2018 at 09:16, Saeed Pooladzadeh > wrote: > >> Can you please explain what should I do exactly? >>

Re: problem on django contrib

2018-11-24 Thread Saeed Pooladzadeh
min/doc/', include('django.contrib.admindocs.urls')), >> >> # Uncomment the next line to enable the admin: >> #url(r'^admin/', include(admin.site.urls)), >> ] >> >> در شنبه 24 نوامبر 2018، ساعت 18:54:47 (UTC-8)، Joel نوشته: >>> >>> Show the scre

Re: problem on django contrib

2018-11-24 Thread Saeed Pooladzadeh
t; Joel G Mathew > > > > On Sun, 25 Nov 2018 at 08:07, Saeed Pooladzadeh > wrote: > >> Hello >> >> >> I'm trying to use Django on the visual studio but for admin page when I >> uncomment the >> >> from django.contrib import admin >&g

problem on django contrib

2018-11-24 Thread Saeed Pooladzadeh
Hello I'm trying to use Django on the visual studio but for admin page when I uncomment the from django.contrib import admin I get this message : unexpected token and it can't accept this line of code, please inform me why. Should I install a specific package or something? thanx Saeed

Re: Setting up admin in visual studio

2018-11-08 Thread Saeed Pooladzadeh
Follow this tutorial: > https://www.youtube.com/watch?v=UmljXZIypDc=1=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p > > He goes over how to create an admin page and have it working. > > On Tuesday, November 6, 2018 at 9:02:03 PM UTC-5, Saeed Pooladzadeh wrote: >> >> >> But my prob

Re: Setting up admin in visual studio

2018-11-06 Thread Saeed Pooladzadeh
Charm > > > > *From:* django...@googlegroups.com [ > mailto:dj...@googlegroups.com ] *On Behalf Of *Saeed > Pooladzadeh > *Sent:* Tuesday, November 6, 2018 3:31 PM > *To:* Django users > *Subject:* Re: Setting up admin in visual studio > > > > There are som

Re: Setting up admin in visual studio

2018-11-06 Thread Saeed Pooladzadeh
There are some tools for visual studio which can make it a python IDE. .I want just want to make the admin.py to work. What are other IDE's for Django? در سه‌شنبه 6 نوامبر 2018، ساعت 6:03:32 (UTC-8)، Jason نوشته: > > visual studio, the .net/C# IDE, is not for python (at least none of the >

Re: Setting up admin in visual studio

2018-11-05 Thread Saeed Pooladzadeh
e immediately notify the sender and > then delete this e-mail in its entirety. > **** > > > On Mon, Nov 5, 2018 at 12:02 PM Saeed Pooladzadeh > wrote: > >> Hello, >> >> Can anyone help me how to start the admin page

Setting up admin in visual studio

2018-11-05 Thread Saeed Pooladzadeh
Hello, Can anyone help me how to start the admin page in visual studio. I have tried many methods but none succeeded. thanks Saeed -- 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