![]() ![]() Stack Overflow: difference of git add a and git add, Git add -A: a handy shortcut for doing both the above. It does not add new files, only changes to files already tracked. Git add -u: looks at all currently tracked files and stages changes to them if different (or removed). : looks at the working tree and adds all paths to staged changes if they are either changed or new (and not ignored). Links and resources: Tags:ĭjango templates, admindocs, docutils Stop git tracking files that were deleted manually django-templates/cms/flatpages/default.htmlĭjango, templates Django can't display admindocs from the link in the admin screensĮnsure docutils is installed (use pip or easy_install) then add to INSTALLED_APPS. Wherever the templates directories are, there needs to be a directory inside it named the same as the project e.g. Then make files that need include directives to be processed executable: chmod +x myfile.htmlĪpache2, SSI, includes, server side includes, xbithack Django can't find flatpages/default.html, even though it's in a TEMPLATE_DIRS path htaccess if no root access), add: XBitHack on etc/apache2/users/nf by copying nf and add directory blocks such as: Īpache2, OSX 10.5, Leopard, virtualhosts, development environment, localhost Set up SSI (includes) for html files using the XBitHack In /private/etc/apache2/extra/nfĪdd a VirtualHost block (more than one or just one?) e.g.: ĭocumentRoot "/Users/deveritt/Sites//webapps/html"Ĭreate a file e.g. …and make local Apache only look for local files - change: ![]() Set up Apache2 for local website testing on Mac OS X 10.5Īdd a line for each test site: 127.0.0.1 mytestsite.lc Web, server, command-line and more: solutions logĪnyone who has to solve problems regularly is advised to keep a solutions log, so they never have to think ‘how did I do that last time?’ I haven't yet put up mine in a searchable or indexed way, so here's a massive long page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |