Sublime Text - Set project type as Django - django

A little confused. Trying to create a Django project in Sublime Text.
I have followed this netuts guide
So I have added a folder and set a project as django.sublime-project
I installed Djaniero plugin. So my question is how do I now turn this into a django project?

Djaniero is just a collection of snippets for Django.
If you're looking for a plugin that will give you autocompletion for Python, etc, take a look at SublimeCodeIntel or SublimeRope.

Related

Any risks format Django project using format plugin in IDE?

What's the potential risks if I want to do the code format (PEP8) for an already existing, working Django project using format plugin in IDE, will it break the system? If it could, plz provide some examples, so I could try to avoid 'em. Many thanks.
All depend to plugin you want to add in your IDE! Pep8 is a python conventions help you to make a pretty python code source ( you can read this).
If plugin have bugs or not compatible with version of you ide it can crash IDE load not a system. Before add plugin you must read all comments on it !

Any tool or plugin to make Django template code smart indention and syntax-highlighting possible?

I'm new to django, and I'm working on my first google appengine app. I use Pycharm as my IDE.
In my HTML files, template code has no smart-indent and syntax-highlighting, it looks BAD! Is there any tools or plugins to handle this situation?
You should try pycharm
http://www.jetbrains.com/pycharm/

Why can't I see my python.django.templates bundle in TextMate?

I have just installed both the python.django bundle and the python.django.templates bundles for TextMate. If I click on the Bundles menu item from the Mac menu bar at the top of my screen, I see them both in the drop-down menu. However, at the bottom of my TextMate window I only see the Python Django option and not the Python Django Templates option. Since I would like to declare that the file I am working on is a Django Templates file, this is annoying me. Can anyone explain to me why this is happening?
Thanks.
The type for Python Django templates is listed under HTML (Django).

getting started with SBT for lift

I am a complete newbie to SBT and scala world. I wanna create a lift application and while exploring on how to do it i stumbled everywhere that i must use SBT. So i went to the github wiki page and followed the instructions for windows. I downloaded the jar given there and created sbt.bat and put both the files in c:\sbt and added it to my path. Then i went c:\liftprojects and typed sbt.
It did something but as given everywhere i expected a wizard of some sort which will ask me what kind of project i wanna build and stuff and generate the directory structure just like mvn:archetype:generate but it didnt do anything. It just ran some downloads and created two dirs
project
boot
blah
target
blah
target
scala 2.8.1
blah
in github wiki it says sbt follows maven bir structure but i cannot see it here.
Am i doin something the wrong way. Im stuck on this. All i need is to know how to create a lift app or a scala project.
To get started with Lift 2.4 my recommendation is to clone the examples repository
git clone https://github.com/lift/lift_24_sbt
Then you can use one of the project templates in that repo, with both 2.8 and 2.9 Scala versions. For example, a good way to start with Lift is using the basic project (with Scala 2.8.1 in this example)
cd lift_24_sbt/scala_28/lift_basic/
Start sbt by typing
./sbt
On Windows use sbt.bat. Inside the sbt console, type
update
jetty-run
Open a web browser and point it to http://localhost:8080 to open the Lift application. To stop the application server, simply type jetty-stop.
You can use this template project, or the other templates in that repo, as a starting point for your applications.
Lift wiki contains a lot of useful information. Specifically, you can follow the instructions getting started section here.

Komodo Code Completion for Django

Sorry to repeat old questions, but I didn't quite understand the answer.
The question was: How to enable auto-complete in Komodo Edit 5.2 for Django
Komodo Edit - code-completion for Django?
"It was already on my python path (could import django stuff via plain old python shell), however,komodo didn't know about it. Manually adding the dist-packages folder fixes it though"
In particular I don't understand the part in bold.
Can you give me a simple step by step recipe for that, please?
Using OSX Snow Leopard.
Thanks,
Greg
Go to File -> Preferences -> Languages -> Python. There you have the field Additional Python Import Directories where you can add the Django folder (actually the folder that contains the Django folder).