CodePlexProject Hosting for Open Source Software
An unexpected error has occured.
There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Voted
No files are attached
newfound wrote Mar 14 at 5:11 AM
This is a little bit rough right now. What I would suggest creating it outside of VS and importing it, but the new project from existing code feature currently doesn't create Django projects. So I'd suggest after using that to import the code I'd open the project by hand and make a couple of updates to it. You should add: <Import Project="$(VSToolsPath)\Python Tools\Microsoft.PythonTools.Django.targets" /> At the end right before the "</Project>" line, and then replace the 1st property group in the .pyproj file with: <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>$guid1$</ProjectGuid> <ProjectHome>.</ProjectHome> <ProjectTypeGuids>{5F0BE9CA-D677-4A4D-8806-6076C0FAAD37};{349c5851-65df-11da-9384-00065b846f21};{888888a0-9f3d-457c-b088-3a5042f75d52}</ProjectTypeGuids> <StartupFile>manage.py</StartupFile> <SearchPath></SearchPath> <WorkingDirectory>.</WorkingDirectory> <LaunchProvider>Django launcher</LaunchProvider> <OutputPath>.</OutputPath> </PropertyGroup> That'll give you all of the normal Django project features. I'll also open a work item for us to support creating projects with different Django versions.
Zooba wrote Mar 14 at 6:38 PM
newfound wrote Mar 14 at 9:22 PM
Sign in to add a comment or to set email notifications
Keyboard shortcuts are available for this page.