On Mon, 2011-08-22 at 00:57 -0700, i...@webbricks.co.uk wrote:
> which is fine, but you've missed the only step that actually makes the
> folder a python module.
>
> do this or it'll never import
> touch __init__.py
got distracted and pressed send too soon.
--
regards
Kenneth Gonsalves
--
which is fine, but you've missed the only step that actually makes the
folder a python module.
do this or it'll never import
touch __init__.py
On Aug 22, 8:32 am, kenneth gonsalves wrote:
> On Sun, 2011-08-21 at 08:22 -0700, Jim wrote:
>
> > Here is the story. I
On Sun, 2011-08-21 at 08:22 -0700, Jim wrote:
>
> Here is the story. I created a site, mysite, with this command
> django-admin startproject mysite. Then, under the directory mysite/, I
> created an app named apps with this command ./manage.py startapp apps.
> apps is meant to hold all
Thank you, folks. I am new to django. I read a blog the other day that
suggests put all applications under a common directory, such as apps, to
make the site directory neat, and I think that seems a good idea. That's why
I thought it would be wonderful if manage.py could make an app under a
On 22/08/2011 1:22am, Jim wrote:
I tried
../manage.py startapp someapp
under apps/, but that created the someapp under mysite/ rather than
under apps/.
That's what is expected.
mysite should contain settings.py and mysite/apps should contain
models.py (among other files). If you want a
>From what I understood, by "sub-apps" Jim meant creating the application in
a sub-directory, or more specifically maybe inside another python package,
using the manage.py command for the sake of convenience and creating using a
single command.
On Sun, Aug 21, 2011 at 10:13 PM, Praveen Krishna R
*Is there a concept of sub-apps exist in Django !?*
*I knew some concepts like independant reusable apps.*
*You can easily handle the rest with your urls right ?! correct me?
*
On Sun, Aug 21, 2011 at 6:27 PM, Subhranath Chunder wrote:
> Extend the manage.py functionality,
Extend the manage.py functionality, by adding your custom command.
https://docs.djangoproject.com/en/dev/howto/custom-management-commands/
On Sun, Aug 21, 2011 at 8:52 PM, Jim wrote:
> Hello folks,
>
> Here is the story. I created a site, mysite, with this command
Hello folks,
Here is the story. I created a site, mysite, with this command django-admin
startproject mysite. Then, under the directory mysite/, I created an app
named apps with this command ./manage.py startapp apps. apps is meant to
hold all applications for mysite. Now, here comes the
9 matches
Mail list logo