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
-
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
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 m
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
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 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
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 Location
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)
elikeDay=models.IntegerField(def
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
>> >
>>
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
n 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
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)
elikeDay=models.IntegerField
re using a template called "index.html" to load
> everything in.
> I'd recommend 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 U
day, 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',
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 em
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 ha
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
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
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 نوشته:
>
>
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:
>
>
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 th
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.
?: (ad
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
&g
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/inst
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 I
در یکشنبه 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
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
: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 Google
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 me
: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
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 django-users+unsu
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" gr
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!
Usin
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 p
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:
>
>
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?
>>
>
>> # Uncomment the admin/doc line below to enable admin documentation:
>> #url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
>>
>> # Uncomment the next line to enable the admin:
>> #url(r'^admin/', include(admin.
Show the screenshot and complete code
> Sincerely yours,
>
> 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
>>
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
Follow this tutorial:
> https://www.youtube.com/watch?v=UmljXZIypDc&index=1&list=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:
>>
>&g
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
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
> versio
ror, please 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
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 i
44 matches
Mail list logo