Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project generation #65

Closed
rvanlaar opened this issue Feb 24, 2013 · 4 comments
Closed

Project generation #65

rvanlaar opened this issue Feb 24, 2013 · 4 comments

Comments

@rvanlaar
Copy link
Owner

Djangorecipe currently supports project generation. This duplicates a lot of code that the regular django-admin.py does.

Is the project generation needed?
Can we just call django-admin.py generate?

@reinout
Copy link
Collaborator

reinout commented Feb 24, 2013

I never use(d) it myself.
@jjmurre said yesterday that he still used it, so he might be the one to talk to.
One thing to watch is whether a setup.py is being generated by Django. (I didn't check)

@reinout
Copy link
Collaborator

reinout commented May 27, 2014

There are a couple of related issues, I tagged them: https://github.com/rvanlaar/djangorecipe/issues?labels=projectgeneration&page=1&state=open

@andrewebdev
Copy link

I always generate my own, here is my workflow and config workaround:

First I run buildout as normal and djangorecipe will autogen a project template. I immediately delete that folder :)

Next I run bin/django-admin startproject <projectname>

The last thing to do is to just add that project path into extra-paths:

[django]
recipe = djangorecipe
project = <projectname>
settings = settings
control-script = <projectname>
extra-paths = ${buildout:directory}/<projectname>/
eggs = ${buildout:eggs}

@reinout
Copy link
Collaborator

reinout commented Jun 10, 2015

Project generation stuff is gone in 2.0 :-)

@reinout reinout closed this as completed Jun 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants