Errno 2 , A new Django user

2019-04-23 Thread THEBOOKOFSIRACH ARCHIVE
When I tried to start a new project by pycharm I get error massage the full massage is / Liberary/frameworks/python.framwork/ bersions/3.7/resources/python.app/contents/macos/python: can't open file 'manage.py': error 2 no such file or directory -- You received this message because you are

Re: Am a new Django User and am finding difficulties making a query to my database

2017-09-13 Thread Melvyn Sopacua
Well, the simplest answer is you used the python shell and not the django shell via `python manage.py shell`. The app not being in installed apps gives a slightly different error and migrations have little to do with it as importing a model doesn't hit the database. So simply use `python

Re: Am a new Django User and am finding difficulties making a query to my database

2017-09-13 Thread Oladipupo Elegbede
Did you include your app in the installed apps list in your settings.py file? Did you do the makemigration and migration after creating the model? Check these two steps and then try again. That's what I'm suspecting given the error trace. On Sep 13, 2017 7:13 AM, "Abdul-Waris Dawuda"

Am a new Django User and am finding difficulties making a query to my database

2017-09-13 Thread Abdul-Waris Dawuda
Hello Everyone Am new to Django and am currently facing a problem trying to import a class from my models. i get this error when i try to do that from the Shell. I am using Visual Studio. i get this problem when i run my command to import; >>> from app.models import Artist Traceback (most

New Django User-Modifying templates

2017-07-23 Thread 413jonnn
Hi, I am a new user to Django. I recently downloaded and installed a calendar app called "Happenings". I would like to incorporate that into my app and would like to modify several things in the Happenings app. When I go to the admin page, I see the Happenings app listed and it works ok but

Re: New django user

2016-12-06 Thread Mandanka Rajan
Check urls.py file. You haven't add polls app in urls.py file If you added, then check whether app is registered in your settings file or not On Tue, Dec 6, 2016 at 4:53 PM, Robert Scronic wrote: > I received the attached error when trying to verify tutorial part 1 django >

Re: New django user

2016-12-06 Thread GMail
As error page shows, your urlconf doesn't define a view for "/polls" URL. You should fix that. > On 6 Dec 2016, at 14:23, Robert Scronic wrote: > > I received the attached error when trying to verify tutorial part 1 django > error > > what should I do next? > > my django

New django user

2016-12-06 Thread Robert Scronic
I received the attached error when trying to verify tutorial part 1 django error what should I do next? my django version is 1.10.4 my python version is 3.5.2 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: New Django User

2016-04-07 Thread Bruno Barbosa
Hello Chen, welcome to Django community! I think you can start with Django Tutorial: https://docs.djangoproject.com/en/1.9/intro/tutorial01/ Good luck! -- Bruno Barbosa Web Developer *brunobarbosa.com.br * On Thu, Apr 7, 2016 at 6:29 AM, Chen

New Django User

2016-04-07 Thread Chen
I'm new to Django.. I actually wanted to take inputs from a web user through web page and then using those inputs perform further operations. So does Django helps in connecting HTML, Python and PHP altogether? How do I connect a html and python file? I have a user login page which I can proceed

New Django user: best way to load/verify/update/create data from a csv file

2009-08-05 Thread Glaskows
Hi, I need to do the following thing: - form where the user select a csv file (done) - load a view where the file is loaded and parsed (done) (from now on I am having doubts of the proper solution) - present to user a page where there are three list: 1) data entries with errors (missing o

New Django user question: how to keep table infomation updating

2009-02-04 Thread webbo
Hi all, I need to create a table, and this table has 3 attributes: Name, Host name, and baseline. I want to make a table able to display dynamic contents when I choose different value from baseline combo-box and click on "check" button. My design is: Baseline is a set of combo-box and

Re: new django user - no images appear on my site :(

2009-01-13 Thread django_fo...@codechimp.net
You know, its really sad to see the disdain like this thrust upon a newbie. We all know you are superior, and that your understanding of Django and python is massive, and we bow to your intellect, but there are hundreds if not thousands of pages of reading, and we newbs are sorry if we don't

Re: new django user - no images appear on my site :(

2009-01-12 Thread Brian Neal
On Jan 12, 6:45 pm, Brian Neal wrote: > On Jan 12, 4:58 pm, jazztpt wrote: > [...] > > > Brian, you understood me perfectly -- when I was asking about a tag, I > > was simply asking if django used a shortcut the way rails does, and > > {{MEDIA_URL}} is

Re: new django user - no images appear on my site :(

2009-01-12 Thread Brian Neal
On Jan 12, 4:58 pm, jazztpt wrote: [...] > > Brian, you understood me perfectly -- when I was asking about a tag, I > was simply asking if django used a shortcut the way rails does, and > {{MEDIA_URL}} is what I was looking for.  Duh.  :P > > However, {{MEDIA_URL}}

Re: new django user - no images appear on my site :(

2009-01-12 Thread jazztpt
Thanks for the great help. Daniel, good eye - I copied & pasted without looking too carefully, and was trying to access the folder one level up. Once I changed that, I can now access the file as David suggested, directly via the url: http://localhost:8000/site_media/autodiag_title.jpg Brian,

Re: new django user - no images appear on my site :(

2009-01-12 Thread Daniel Roseman
On Jan 12, 8:59 pm, jazztpt wrote: > Nope, that's not the problem.  I had read that page, and another that > suggested a slightly different syntax for the urlpatterns > (fromhttp://rob.cogit8.org/blog).  Sorry that I forgot to mention that I > had already put Rob's

Re: new django user - no images appear on my site :(

2009-01-12 Thread Brian Neal
On Jan 12, 2:59 pm, jazztpt wrote: > > That page in the docs doesn't say anything about how to call this from > the view.  Are these files automatically accessed by an tag?  I > didn't see any special image tag (like the image_tag in rails) in the > template tags or in

Re: new django user - no images appear on my site :(

2009-01-12 Thread David Zhou
On Mon, Jan 12, 2009 at 3:59 PM, jazztpt wrote: > > Nope, that's not the problem. I had read that page, and another that > suggested a slightly different syntax for the urlpatterns (from > http://rob.cogit8.org/blog). Sorry that I forgot to mention that I > had already

Re: new django user - no images appear on my site :(

2009-01-12 Thread jazztpt
Nope, that's not the problem. I had read that page, and another that suggested a slightly different syntax for the urlpatterns (from http://rob.cogit8.org/blog). Sorry that I forgot to mention that I had already put Rob's version in my code -- I wasn't sure if it was necessary simply to show

Re: new django user - no images appear on my site :(

2009-01-12 Thread Daniel Roseman
On Jan 12, 6:35 pm, jazztpt wrote: > I'm building my first django app and having a few problems in my dev > environment.  I have a couple of images that I want to use in my > base.html template.  I have tried various configurations, but none of > my images show up.  I've

new django user - no images appear on my site :(

2009-01-12 Thread jazztpt
I'm building my first django app and having a few problems in my dev environment. I have a couple of images that I want to use in my base.html template. I have tried various configurations, but none of my images show up. I've tried putting the images in /media, in /media/ img, and in the main

Re: New Django user: How do I return the server's IP address?

2008-11-21 Thread Steve Holden
[EMAIL PROTECTED] wrote: > Where can I get the Host server's IP address? > > request.META['SERVER_NAME'] simply returns localhost instead of > whatever my ip address is > > Try import socket socket.gethostbyname(request.META['SERVER_NAME']) regards Steve

Re: New Django user: How do I return the server's IP address?

2008-11-21 Thread Karen Tracey
On Fri, Nov 21, 2008 at 5:14 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>wrote: > > Where can I get the Host server's IP address? > > request.META['SERVER_NAME'] simply returns localhost instead of > whatever my ip address is > Your machine likely has more than one IP address: one for each network

New Django user: How do I return the server's IP address?

2008-11-21 Thread [EMAIL PROTECTED]
Where can I get the Host server's IP address? request.META['SERVER_NAME'] simply returns localhost instead of whatever my ip address is Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Problems creating a project with django-admin startproject (New Django user)

2007-10-03 Thread Nis Jørgensen
[EMAIL PROTECTED] skrev: > Just installed python/apache/django/mod_python with all the latest > versions. > > I think I got most of my PATH variables set up correctly. However, > when I try: > > C:\django>django-admin.py startproject testproject1 > Traceback (most recent call last): > File

Problems creating a project with django-admin startproject (New Django user)

2007-10-02 Thread [EMAIL PROTECTED]
Just installed python/apache/django/mod_python with all the latest versions. I think I got most of my PATH variables set up correctly. However, when I try: C:\django>django-admin.py startproject testproject1 Traceback (most recent call last): File "C:\Python25\Scripts\django-admin.py", line

Re: Possibly new Django user questions

2006-06-10 Thread Luke Plant
On Friday 09 June 2006 23:50, binjured wrote: > 1) How robust is Django? Take for instance the User class. Say I > wanted to add the field "favorite_color" and have it editable in the > admin interface and work with all applicable functions, is that > possible? What if I need to connect to a

Possibly new Django user questions

2006-06-09 Thread binjured
I have been looking into Python and more specifically this framework for a little while and it is very interesting to me! As a current PHP user looking at Python for the first time, it seems to be a much more elegant and OOP-centric language. As for the framework it simply looks amazing.