Re: Key Tools and Tips for Efficient Web Development Programming Web Development by JackRyan248 … development. > > On the back end, Node.js and Django are solid options for building robust applications. Don't forget… and project efficiency! Great tips! React, Vue, Node.js, and Django are all solid choices. GitHub is essential for version control… Re: Key Tools and Tips for Efficient Web Development Programming Web Development by Himanshu011 Frontend development: * React * Vue.js Backend development: * Node.js * Django Django help!! Programming Software Development by Luckychap … Python when I got a project to be done with Django. I got stuck when I was fetching data from database… Django Programming Software Development by saransh60 … computer scientist Python" ..Now i want to dive for Django framework for web development is that book(how to think… Re: Django Programming Software Development by ssharish2005 I've never Django before, but straight getting into web develpment uisng some API … Django NameError in first web app Programming Software Development by chalasesha …: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'mysite.polls', 'django.contrib.admin'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib… Django Tagging Install Issue Programming Software Development by felix001 … following error : [root@Fileserver django-tagging]# pwd /opt/django/djangoblog/django-tagging [root@Fileserver django-tagging]# python setup.py install Traceback…from tagging.managers import ModelTaggedItemManager, TagDescriptor File "/opt/django/djangoblog/django-tagging/tagging/managers.py", line 5, in ?… Django ImportError: Cannot import name connection Programming Software Development by kendaop …looks like: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'C:\\Users\\USER NAME\\Documents…", "NewMKEProject.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv) So… Re: Django NameError in first web app Programming Software Development by sureronald I have no solution for this at the moment but you may want to try and post problems related to django to the [URL="http://groups.google.com/group/django-users"]django-users[/URL] google group. Re: Django ImportError: Cannot import name connection Programming Software Development by chriswelborn …usually happen when you try to run your Django app outside of Django's 'environment', which is why people … python models to database tables, and also sets up django's # own tables. Doing this when your model…, the headaches went away.) python manage.py shell # django-friendly python interpreter, you can test code here # and… Re: Django ImportError: Cannot import name connection Programming Software Development by chriswelborn …except me. But it still has to have the django environment loaded. So here's what you do …insert(0, "/main/path/to/NewMKEProject") # Set django environment variable (if not set yet) # ...you've …this. but do it BEFORE you import anything from django. if not os.environ.has_key("DJANGO_SETTINGS_MODULE"): os… Re: Django problems... Programming Software Development by tls-005 … [URL="http://groups.google.com/group/django-users/"]Django user's group[/URL] (don't post…settings) File "C:\Python26\lib\site-packages\django\core\management\__init__.py", line 362, in …runserver. py", line 21, in handle from django.core.servers.basehttp import run, AdminMediaHandler, WSGIServerE xception File… Django problems... Programming Software Development by Tech B …settings) File "C:\Python26\lib\site-packages\django\core\management\__init__.py", line 362, in …execute() File "C:\Python26\lib\site-packages\django\core\management\__init__.py", line 303, in…runserver. py", line 21, in handle from django.core.servers.basehttp import run, AdminMediaHandler, WSGIServerE xception … Re: Django ImportError: Cannot import name connection Programming Software Development by chriswelborn …are you running your little test script from? python/django can't find the settings.py module for some…quot;`NewMKEProject.settings`" (although I access settings using `django.conf.settings`)... I know there are other ways to …structure django projects, such as putting apps under "NewMKEProject… Django Request Object Programming Software Development by pallen … simple websites. I have a thousand questions about Django (most centering around Views and customizing the Admin,…;) Seems simple enough, right?. While reading [the django book](http://www.djangobook.com/en/2.0/chapter03… done it, it worked something like this: from django.http import HttpRequest request = HttpRequest() That is how… Re: Django ImportError: Cannot import name connection Programming Software Development by kendaop … references to C:\Python27\Lib\site-packages\django and C:\Python27\Lib\site-packages\django\db to my PYTHONPATH. I don't… Re: Django Request Object Programming Software Development by chriswelborn … parameter (try writing one without it). This is because Django automatically passes the `HttpRequest()` to your view so you…nothing with the request (not on my part anyway). Django is instantiating the `HttpRequest()`, not you. It lets ….META` (useful info about the request). I think Django needs to use the request itself anyway, so passing … Re: Django Request Object Programming Software Development by JO_4 …('HTTP_HOST') to depend of domain to choice a database from django.http import HttpRequest class DatabaseRouter(object): def db_for_read(self, model… Django Wiki Programming Software Development by R3ap3R … is the most appropriate place to post a Django question :P Hi there guys and girls! …I am currently busy (and learning) Django. It really is a solid platform to work …point :P I am creating a wiki in Django where users should be able to register, login,… is - do any of you (who know Django) know how I can implement the create new pages… Django Setup error Programming Software Development by sun_2588 …only i get stuck. As you people must know that django bundle have a build in deployment server, i also used… a folder in my home directory. and run the "django-admin.py startproject mysite" command. 2) By doing that… browser and it shows "It worked welcome to first django powered page" Upto this everything is working fine. Now… Django - Multi-Database support Programming Software Development by ChaosKnight11 Hi, I have started a new app in my current Django project and I want to make the new app use …;http://www.eflorenzano.com/blog/post/easy-multi-database-support-django/"]Django Multi-Database support[/URL] but it seems more like… Django, OperationalError: no such table: Foo Programming Software Development by WHchaz1027 ….sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), }, 'db_foo': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'db_foo', 'USER': 'user_foo', 'PASSWORD': 'pwd_foo', 'HOST… Django and displaying func results Programming Software Development by NightKev … on a webpage. Here's the code: [CODE=Python]from django.http import HttpResponse class players: def info(self, name, territory…"]Image Link[/URL] Hopefully someone who is familiar with Django can help. Django problem : "'tuple' object has no attribute 'save'" Programming Software Development by shean1488 … create a database and store data, that I get from django forms. Everything looks fine, and when I manually check database…: POST Request URL: http://127.0.0.1:8000/teacher/ Django Version: 1.3 Exception Type: AttributeError Exception Value: 'tuple' object… Django Trouble Programming Software Development by NightOwl19 … must say..now i tried to do some tickling with django and somehow managed to install it well..When i started… have python 2.7 installed with the latest version of django.. Django + Blod field Programming Software Development by dre-logics I use python 3.4.2 + django 1.8 + Mysql database. + Table persons with blob fields in which a photo of a person My question is how can I retrieving and saving a photo with django. django inserting data to database from views.py file Programming Web Development by Niloofar24 Hello. I want to insert data into django db from a function in the **views.py** file. I'm using **linux**, **python 3.4**, **django 1.8.2**, **PyMySQL** Re: django inserting data to database from views.py file Programming Web Development by Niloofar24 models.py: from django.db import models class Publisher(models.Model): name = models.CharField(…max_length=30) city = models.CharField(max_length=60) views.py: from django.http import HttpResponse import pymysql from books.models import Publisher… django set up for windows not working Programming Software Development by ramsiva i installed on windows python 3.5.1 latest version on windows but i am try to fail on set up module django. any body help me, to set up django and how to open sample program on browser Re: django set up for windows not working Programming Software Development by G_S … to Python? If you just want to run development server, Django comes with a built-in server suitable only for development… try to help. I had a lot of trouble with Django in the last couple months, so maybe I can help…