Re: Key Tools and Tips for Efficient Web Development Programming Web Development by simplixi … run the behind-the-scenes stuff. * **Django:** If youโ€™re more comfortable with Python, Django is your friend. Itโ€™s like a… Re: Key Tools and Tips for Efficient Web Development Programming Web Development by RKE2 Great advice! React, Vue, Node.js and Django are definitely game-changers for web development. I love using GitHub for version control tool. It is so essential for smooth collaboration. Looking forward to hearing more tips from others. Re: How would we poison AI web crawls? Hardware and Software Information Security by rproffitt …. @mike ๐Ÿ”— https://codeberg.org/MikeCoats/poison-the-wellms ๐Ÿ”ป Django-llm-poison A django app that poisons content when served to #AI bots…. @Fingel ๐Ÿ”— https://github.com/Fingel/django-llm-poison ๐Ÿ”ป KonterfAI A model poisoner that generates nonsense content… Re: Which Python project should I use? Programming Software Development by Reverend Jim Using wxPython for your GUI elements will make it more portable to other platforms. wxPython also renders the elements in the target platform's native style. Usimg wxGlade (also free) to design the layout will make things much easier than doing it all by hand. 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 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 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 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 - 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 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 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 and uWSGI in a Docker container Programming Software Development by massivefermion I'm trying to run a project that uses Django and uWSGI in a Docker container. But I'm new …'t know what I'm supposed to do. Usually with Django applications, I just would check "localhost:4000" in… Re: django "python manage.py validate" prints error "unknown command" Programming Web Development by Niloofar24 I found the answer myself: `pip install Django==1.8.2` **Django==1.9.2** Does not support some commands. Re: Django urls with and without / Programming Web Development by rproffitt …'s my clue to see how Django redirects. For that you have to scour your Django docs. Like this one: https://docs… Django and Couchdb Programming Software Development by pratz Hello, We are trying to use Django with couchdb, is this a good idea??? It is going to be a health software, so is it better to use couchdb. Also we are going to use wtforms. Will this make a good combination for a complete software. Any more suggestions will be helpful. Thank you. Django - List(s) of items and form display Programming Software Development by oooooops I have been trying to learn Django (and Python). I have a form that can have up … Re: Django - List(s) of items and form display Programming Software Development by richieking Better close this thread and ask your question in Django forum. I will do that if i were you. :)