Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 42 results for
django-admin
- Page 1
Django Setup error
Programming
Software Development
11 Years Ago
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 a…browser and it shows "It worked welcome to first
django
powered page" Upto this everything is working fine. Now…
Re: python-django
Programming
Web Development
7 Years Ago
by lewashby
…
django
-
admin
.py /home/user/.local/bin/
django
-
admin
.py /home/user/.local/bin/
django
-
admin
.pyc /home/user/.local/lib/python2.7/site-packages/
django
/bin/
django
-
admin
…
python-django
Programming
Web Development
7 Years Ago
by lewashby
… /home/user/projects/python/
django
-projects/myhellowebapp/.git/ (venv) user@mothership myhellowebapp $
django
-
admin
.py startproject hellowebapp .
django
-
admin
.py: command not found …venv) user@mothership myhellowebapp $ python
django
-
admin
.py startproject hellowebapp . python: can't open file '
django
-
admin
.py': [Errno 2] No such …
Re: python-django
Programming
Web Development
7 Years Ago
by Gribouillis
Try `which pip` and `which python`. Both should be in your virtual env's `bin` directory. `
django
-
admin
.py` should be in the same directory. You can also use `locate
django
-
admin
.py` to find all the files with that name in your file system.
Problem with Django on Windows 7
Programming
Software Development
13 Years Ago
by ChaosKnight11
…to my PATH, and .py to PATHEXT. I also installed
Django
via the "python setup.py install" command, …that it can my imported. But when I enter "
django
-
admin
" followed by any of its commands, only a message… is returned that informs me about
django
-
admin
.py's usage. Is there something I missed that needs…
Unclear issue after installing django
Programming
Software Development
8 Years Ago
by prowler421
…successful, when I run, for example, the command: "
django
-
admin
--version" it did nothing as well, but when i… run the command: "python -m
django
-
admin
--version", it says that: "python.exe: no… module named
django
-
admin
". In general, each command associated to pip or to…
Re: Unclear issue after installing django
Programming
Software Development
7 Years Ago
by G_S
… PATH variable. Also, why don't you try calling
django
-
admin
directly? Do this: Locate your Python installation folder (usually… a "site-packages" folder. That's where
Django
should be if it was installed correctly. Now, inside …you'll find a "bin" folder with
django
-
admin
.py. Try running it from the command line using …
Django NameError in first web app
Programming
Software Development
13 Years Ago
by chalasesha
… Applications: ['
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…
Re: Django NameError in first web app
Programming
Software Development
13 Years Ago
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.
Django Request Object
Programming
Software Development
10 Years Ago
by pallen
…have a thousand questions about
Django
(most centering around Views and customizing the
Admin
, specifically as they relate …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 …
Re: Django Request Object
Programming
Software Development
10 Years Ago
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
6 Years Ago
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…
Re: python-django
Programming
Web Development
7 Years Ago
by lewashby
No, I just followed the instructions here -> https://hellowebapp.com/setup/ That site is paired with the
Django
book I'm reading. Should I have done it differently?
Re: Problem with Django on Windows 7
Programming
Software Development
13 Years Ago
by richieking
why no close this thread and try
django
forum. I will do that if i were you. ;)
Re: Deploying django websites in apache2 server
Programming
Software Development
12 Years Ago
by Pupo
…your project located at /srv/my_site cd /srv/ sudo
django
-
admin
.py startproject my_site 3-Make a virtualhost for it: …located at /usr/local/lib/python2.6/dist-packages/
django
/contrib/
admin
/media/, but it can be at other place … -s /usr/local/lib/python2.6/dist-packages/
django
/contrib/
admin
/media/ adminmedia 6-Make apache user the owner of…
Re: Django vs. Rails ...
Community Center
16 Years Ago
by pty
…;497905]Hi folks. I made some research on Rails vs.
Django
, but I didn't come to conclusion which is better…: I didn't know where to post it, so please
admin
/mod to move it where it belongs.[/QUOTE] Neither language… while Google use Python heavily afaik they don't use
Django
(I may be wrong but I don't think they…
Django vs. Rails ...
Community Center
16 Years Ago
by MitkOK
Hi folks. I made some research on Rails vs.
Django
, but I didn't come to conclusion which is better …: I didn't know where to post it, so please
admin
/mod to move it where it belongs.
Big idea in Django for total novice (myself) to learn by doing...
Programming
Software Development
9 Years Ago
by caltech
… complete newbie know-nothing when it comes to Python or
Django
in practice. So I want to learn by embarking on…, should the listing DB and UI be a
Django
"project" or
Django
"app"? It is integrated into their… sites, which are mostly pretty different from one another. The
admin
UI I would like ultimately to make like an intranet…
Re: Big idea in Django for total novice (myself) to learn by doing...
Programming
Software Development
9 Years Ago
by il_doc
…http://learnpythonthehardway.org/book/ then you'll find the [
django
tutorial](https://docs.djangoproject.com/en/1.6/intro/tutorial01…/) VERY useful to learn how
django
works
django
documentation is amazingly written also take a look at …www.jeffknupp.com/blog/2012/02/09/starting-a-
django
-project-the-right-way/) on how to start a…
Re: python-django
Programming
Web Development
7 Years Ago
by Gribouillis
This is strange, there should be a python interpreter in the virtualenv's bin/ directory. Didn't you create the virtualenv with a python interpreter such as in virtualenv --python=python2.7 mydir ?
Re: python-django
Programming
Web Development
7 Years Ago
by Gribouillis
You should be using the python interpreter and the pip command from your venv bin/ directory. What's in your venv's bin directory ?
Re: python-django
Programming
Web Development
7 Years Ago
by lewashby
user@mothership myhellowebapp $ source venv/bin/activate (venv) user@mothership myhellowebapp $ ls -l venv/bin total 3508 -rw-r--r-- 1 user user 2125 Dec 20 22:35 activate -rw-r--r-- 1 user user 1067 Dec 20 22:35 activate.csh -rw-r--r-- 1 user user 2265 Dec 20 22:35 activate.fish -rw-r--r-- 1 user user…
Re: python-django
Programming
Web Development
7 Years Ago
by lewashby
I just followed the exact same steps from the website again only in a new directory and now everything is working fine. Go figure. Thanks Grib.
Python AGI to PHP or Java AGI
Programming
Software Development
9 Years Ago
by alina.nazchowdhury
…quot;)) os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' from
django
.core.management import execute_manager try: import settings # … things.\nYou'll have to run
django
-
admin
.py, passing it your settings module… from users.models import Dialplan from
django
.db.models import Min def get_matching_dialplan(user…
Re: how to install and implement the django web framework on Mac OS
Programming
Software Development
14 Years Ago
by jlm699
…;1006080]hi, i have installed the
django
and established the connection between
django
and mysql database.but it shows the… the URLconf defined in mysite.urls,
Django
tried these URL patterns, in this order: ^
admin
/doc/ The current URL, , didn…it lists where it looked for the webpage (
admin
/doc/). This means it was looking for something like…
Re: how to install and implement the django web framework on Mac OS
Programming
Software Development
14 Years Ago
by mohankumar554
hi, i have installed the
django
and established the connection between
django
and mysql database.but it shows the below error. Page …] Using the URLconf defined in mysite.urls,
Django
tried these URL patterns, in this order: ^
admin
/doc/ The current URL, , didn't…
Re: Django vs. Rails ...
Community Center
16 Years Ago
by MitkOK
Hi guys. I've just watched '[URL="http://www.djangoproject.com/snakesandrubies/"]Snakes and Rubies[/URL]" , read many articles and still cannot choose my new framework. Please, assist :-/
Python manage.py giving MysqlDB error
Programming
Software Development
14 Years Ago
by sandeep.m
… "/usr/local/lib/python2.5/site-packages/
django
/contrib/
admin
/__init__.py", line 1, in <module…> from
django
.contrib.
admin
.options import ModelAdmin, HORIZONTAL, VERTICAL File "/usr/…local/lib/python2.5/site-packages/
django
/contrib/
admin
/options.py", line 5, in <module…
Please Help: Python N00b
Programming
Software Development
11 Years Ago
by lushys
… Applications: ('
django
.contrib.auth', '
django
.contrib.contenttypes', '
django
.contrib.sessions', '
django
.contrib.sites', '
django
.contrib.messages', '
django
.contrib.
admin
', 'wikicamp.wiki') Installed Middleware: ('
django
.middleware.common.CommonMiddleware', '
django
.contrib…
Re: Please Help: Python N00b
Programming
Software Development
11 Years Ago
by lushys
….models import Page from
django
.shortcuts import render from
django
.shortcuts import render_to_response from
django
.shortcuts import HttpResponseRedirect from
django
import forms import markdown…
1
2
Next
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC