You can try ./manage.py shell
Then you can run:
from abcd.models import Person
On Mon, 17 Oct 2022 at 06:37, It's ShAdAn wrote:
>
>
> how i run model through manage.py
>
> On Saturday, 15 October 2022 at 16:48:23 UTC-7 Thomas wrote:
>
>> You don’t run model files directly, but rather through
how i run model through manage.py
On Saturday, 15 October 2022 at 16:48:23 UTC-7 Thomas wrote:
> You don’t run model files directly, but rather through manage.py which
> references your settings.py file.
>
> ./manage.py
>
> hth
>
> - Tom
>
> On Oct 15, 2022, at 1:07 PM, It's ShAdAn wrote:
>
You don’t run model files directly, but rather through manage.py which
references your settings.py file.
./manage.py
hth
- Tom
> On Oct 15, 2022, at 1:07 PM, It's ShAdAn wrote:
>
> Got error
>
>
> /usr/bin/python3.9
> /home/user/PycharmProjects/pythonProject4/mycham/abcd/models.py
>
Hi
Can you share your settings file content or screenshot?
Regards,
*AJAYI Sunday *
(+234) 806 771 5394
*sunnexaj...@gmail.com *
On Sat, Oct 15, 2022 at 10:01 PM It's ShAdAn wrote:
> Got error
>
>
> /usr/bin/python3.9
> /home/user/PycharmProjects/pythonProject4/mycham/abcd/models.py
>
Got error
/usr/bin/python3.9
/home/user/PycharmProjects/pythonProject4/mycham/abcd/models.py
Traceback (most recent call last):
File "/home/user/PycharmProjects/pythonProject4/mycham/abcd/models.py",
line 4, in
class Person(models.Model):
File
Hi nagaraju, if you're new to django then you should go for a CRUD
functionality to understand django. you can also build a blog post web app
then you will be able to build this form by yourself. well if you don't
want to build other ideas and want to work on this form then you should
search for
Hello,
I have start with django girls tutorial. This is a relative easy start with
a simple app. But i think after this you are able to develop your app.
https://tutorial.djangogirls.org/en/
Regards
Nagaraju Singothu schrieb am Mi., 28. Juli
2021, 15:51:
> Dear friends,
>
> I'm new to django,
Here's the django-official tutorial:
https://docs.djangoproject.com/en/3.2/intro/tutorial01/ On Wednesday, July
28, 2021, 8:58:25 PM GMT+6, Nagaraju Singothu
wrote:
Sir, please send me one tutorial.
On Wed, Jul 28, 2021 at 8:04 PM Sebastian Jung
wrote:
Hello Nagaruj,
Here in this
Sir, please send me one tutorial.
On Wed, Jul 28, 2021 at 8:04 PM Sebastian Jung
wrote:
> Hello Nagaruj,
>
> Here in this forum you get help on specific problem but when you search a
> people how help you develop such a page then you find on upwork developer
> fast and cheap.
>
> If you want
Hello Nagaruj,
Here in this forum you get help on specific problem but when you search a
people how help you develop such a page then you find on upwork developer
fast and cheap.
If you want to make it self then several tutorials exists.
Regards
Nagaraju Singothu schrieb am Mi., 28. Juli
Dear friends,
I'm new to django, plz help me how to develop this page and send me the
source code.
This task only using bootstrap and Django
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving
You are looking for a key in the response from youtube that doesn't exist -
therefore you get this error. You will need to go to the youtube api and
see what the response should be.
Regards,
Andréas
Den tors 29 okt. 2020 kl 14:03 skrev Allen Yesudasan :
> Environment: Request Method: POST
Environment: Request Method: POST Request URL:
https://youtubedownloader244.herokuapp.com/lint Django Version: 3.1.1 Python
Version: 3.6.12 Installed Applications: ['tube', 'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes', 'django.contrib.sessions',
On Mon, Sep 21, 2020 at 7:04 PM Shahprogrammer wrote:
> That's not the problem with installation of Django it's with your urls
>
> On Monday, 21 September, 2020 at 6:49:56 pm UTC+5:30 kashubh...@gmail.com
> wrote:
>
>> [image: Screenshot (418).png]
>>
> --
> You received this message because
That's not the problem with installation of Django it's with your urls
On Monday, 21 September, 2020 at 6:49:56 pm UTC+5:30 kashubh...@gmail.com
wrote:
> [image: Screenshot (418).png]
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
[image: Screenshot (418).png]
--
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 view this discussion on the web
16yazha...@gmail.com> wrote:
>>>
>>>> I can upload images from django admin panel but cannot to do same thing
>>>> with django form , it saves any text but did not save images only, anyone
>>>> help me please
>>>> github <https://gith
inside_your_media_folder"
>>
>> On Sat, Aug 29, 2020, 19:48 allaberdi...@gmail.com <
>> allaberdi16yazha...@gmail.com> wrote:
>>
>>> I can upload images from django admin panel but cannot to do same thing
>>> with django form , it saves any te
com> wrote:
> I can upload images from django admin panel but cannot to do same thing
> with django form , it saves any text but did not save images only, anyone
> help me please
> github <https://github.com/alyyazkhanov/my-firs-blog.git>
> this is my code:
>
> mode
not to do same thing
>> with django form , it saves any text but did not save images only, anyone
>> help me please
>> github <https://github.com/alyyazkhanov/my-firs-blog.git>
>> this is my code:
>>
>> models.py:
>> class Posts(models.Model):
>>
&
saves any text but did not save images only, anyone
> help me please
> github <https://github.com/alyyazkhanov/my-firs-blog.git>
> this is my code:
>
> models.py:
> class Posts(models.Model):
>
> Ahal = 'Ahal'
> Balkan = 'Balkan'
> Dasoguz = 'Dasoguz'
> Lebap =
I can upload images from django admin panel but cannot to do same thing
with django form , it saves any text but did not save images only, anyone
help me please
github <https://github.com/alyyazkhanov/my-firs-blog.git>
this is my code:
models.py:
class Posts(models.Model):
Ahal =
https://pastebin.com/qnJ1JHEJ sir this is whole webpack.config code
On Sat, 3 Aug 2019 at 00:21, mohamed habib wrote:
> I suspect its a syntax error in your webpack.conf.js file. Can you show us
> the entire webpack.conf.js file please. paste it somewhere like pastebin
> and link us to it
>
>
I suspect its a syntax error in your webpack.conf.js file. Can you show us
the entire webpack.conf.js file please. paste it somewhere like pastebin
and link us to it
On Fri, Aug 2, 2019 at 7:28 PM Pradeep Singh wrote:
> Yes but same error are occur
>
>
> On Fri, Aug 2, 2019, 9:47 PM Sam W
Yes but same error are occur
On Fri, Aug 2, 2019, 9:47 PM Sam W wrote:
> Did you add 'corsheaders', to the settings file?
>
> The Error is very clear:
> *npm ERR! frontend@1.0.0 dev: `cross-env NODE_ENV=development
> webpack-dev-server --open --hot`*
> Install : pip install
Did you add 'corsheaders', to the settings file?
The Error is very clear:
*npm ERR! frontend@1.0.0 dev: `cross-env NODE_ENV=development
webpack-dev-server --open --hot`*
Install : pip install django-cors-headers
Then add: 'corsheaders',to the INSTALLED_APPS inside settings file
in Django
Did you add 'corsheaders', to the settings file?
Follow this link: https://pypi.org/project/django-cors-headers/
On Thursday, August 1, 2019 at 10:18:11 PM UTC-5, Pradeep Singh wrote:
>
> F:\django-vue project\djangoVueProject\frontend\webpack.config.js:81
> 'vue$': 'vue/dist/vue.esm.js'
Can you tell what you are trying to achieve?
On Friday, August 2, 2019 at 8:48:11 AM UTC+5:30, Pradeep Singh wrote:
>
> F:\django-vue project\djangoVueProject\frontend\webpack.config.js:81
> 'vue$': 'vue/dist/vue.esm.js'
> ^
>
> SyntaxError: Unexpected token :
> at
F:\django-vue project\djangoVueProject\frontend\webpack.config.js:81
'vue$': 'vue/dist/vue.esm.js'
^
SyntaxError: Unexpected token :
at Module._compile (internal/modules/cjs/loader.js:721:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at
assuming you're talking python code, the django dev server, with the
runserver command, is live reloading.
If you're talking about javascript, that is something entirely different.
what commands are you executing?
--
You received this message because you are subscribed to the Google Groups
How can i use live reloader in django. Please can anyone help me?
--
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...@google
in your template folder -> account login.py to login .html .. if your html
file is login.py
and you have to specify full path like
render(request,"accounts/login.html",context)
On Saturday, October 14, 2017 at 3:19:53 PM UTC+5:30, utpalbr...@gmail.com
wrote:
>
> my code that caused an
Check the extension. Sometimes editor will save the file as .htm while your are
referencing .html in your views. This can give a "No templates found" exception
too.
Yingi Kem
> On 15 Oct 2017, at 11:22 AM, utpalbrahma1...@gmail.com wrote:
>
> even though i have correct to login.htmlwhile
even though i have correct to login.htmlwhile running server and when i
try to open accounts page
it pops an error show below--
"no templates found"
in my browser
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this
What exactly is the error you are trying to fix?
Yingi Kem
> On 14 Oct 2017, at 10:49 AM, utpalbrahma1...@gmail.com wrote:
>
> my code that caused an error :
> ///
> from django.shortcuts import render
> from django.http import HttpResponse
> from django.template import loader
> # Create your
What is the error?
Also in your file tree you show your templates/accounts/login.py, you want
it to be .html to match to template name in the render.
Dylan
On Sat, Oct 14, 2017 at 2:49 AM, wrote:
> my code that caused an error :
> ///
> from django.shortcuts import
my code that caused an error :
///
from django.shortcuts import render
from django.http import HttpResponse
from django.template import loader
# Create your views here.
def home(request) :
return render(request,'login.html',context)
///
above code is in my views.py of my app name "accounts"
please visit the stackoverflow page for details.
http://stackoverflow.com/questions/16333793/django-how-to-display-actual-objects-in-admin
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails
{
> > > #fastcgi_pass unix:/tmp/php-cgi.sock;
> > > fastcgi_pass 127.0.0.1:8080;
> > > include fastcgi_django.conf;
> > > }
>
> > > location ^~ /site_media/admin/ {
> > > alias /home/peng/jiangyo/site_media/admin
080;
> > include fastcgi_django.conf;
> > }
>
> > location ^~ /site_media/admin/ {
> > alias /home/peng/jiangyo/site_media/admin/;
> > }
>
> > log_format wwwlogs '$remote_addr - $remote_user [$time_local]
> > "$requ
gyo/site_media/admin/;
> }
>
> log_format wwwlogs '$remote_addr - $remote_user [$time_local]
> "$request" '
> '$status $body_bytes_sent "$http_referer" '
> '"$http_user_agent" $http_x_forwarded_for';
>
body_bytes_sent "$http_referer" '
'"$http_user_agent" $http_x_forwarded_for';
access_log /home/peng/jiangyo/logs/access_info.log wwwlogs;
error_log /home/peng/jiangyo/logs/error_info.log;
}
the following are the html source from the firebug,
42 matches
Mail list logo