Commits

Bria...@joechip.net> [Scylla]  committed 8aa672c

snippets for model skeleton, else

  • Participants
  • Parent commits 32e4c9e

Comments (0)

Files changed (3)

File Python Django Templates.tmbundle/Snippets/else.tmSnippet

+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>content</key>
+	<string>{% else %}</string>
+	<key>name</key>
+	<string>else</string>
+	<key>scope</key>
+	<string>text.html.django</string>
+	<key>tabTrigger</key>
+	<string>if</string>
+	<key>uuid</key>
+	<string>B87EBD22-AA0E-4316-936B-58DB9D42DAF6</string>
+</dict>
+</plist>

File Python Django Templates.tmbundle/info.plist

 	<dict>
 		<key>items</key>
 		<array>
+			<string>4D1DEEF8-0CFA-41FA-9F7C-D985E556B000</string>
 			<string>0E149492-0900-409F-9C63-940D1DF8997A</string>
+			<string>79E37710-CEE2-4C76-BB44-606C7679AD32</string>
 			<string>25252B01-659D-462B-978D-CAE0221B075A</string>
 			<string>6077AFA6-98D5-4FC9-AF39-4A65432433E8</string>
 			<string>813FEE58-FAF2-4031-9E13-26168E30B6F3</string>
 			<string>57A1CF54-7CA4-4ED2-A2F4-AFE0CF89D146</string>
 			<string>DD04692C-3D83-419E-8DEF-A69EE466426D</string>
 			<string>3E8EC5B9-FF4F-4441-88A7-63C6844E1635</string>
+			<string>4D891955-934B-474C-80F2-E4606632ED66</string>
 			<string>617F3D96-F893-4BE6-8AE5-B4B35E1DD7DC</string>
+			<string>A3262BEA-D000-4AF3-832F-90FC6533EAC9</string>
+			<string>7E005925-3346-4AA4-B8BB-49A938BA192A</string>
+			<string>1D44669D-218A-448D-A290-E1BAD8D3F7CD</string>
 			<string>17F3AFB0-F5BB-4C25-A5BE-454E5C929B67</string>
-			<string>43F0FCA9-1E10-4286-9D41-02F6065A6E8E</string>
-			<string>549349F9-DE08-4871-8C6E-F77FBF44DEAE</string>
-			<string>261F0951-914C-4D24-824F-7D78FE9BF1F6</string>
-			<string>373F257A-070E-4A98-90F9-573D4CF559D6</string>
+			<string>5EC7F41D-E1F0-4A06-8B70-171C191C0BA3</string>
 			<string>------------------------------------</string>
 			<string>0A2145DE-144B-4FEC-B34F-C89CE1FC6CCA</string>
+			<string>392C9A9F-2264-421D-9EAB-95CE16481B1B</string>
+			<string>10C0357D-EB2C-4CC7-B361-391A35AE3C2E</string>
+			<string>8C303CB4-D2DC-4DEA-9CF6-B8E24C021646</string>
 		</array>
 		<key>submenus</key>
 		<dict>
 				<array>
 					<string>AB73645D-3A5D-41F0-9E91-15662F41EC03</string>
 					<string>7B68FB0B-DCA8-4F87-99B6-9724565D93B6</string>
+					<string>EF7FE84E-E3EC-4269-8D93-62E9E3555738</string>
 					<string>9E3A8849-E139-4980-B8DD-12DCD2A48759</string>
 					<string>14D09248-0188-454B-855C-F1257B294CB4</string>
 					<string>2D2308F8-0A20-4DA3-A3FE-F2A2624C2D42</string>
 					<string>5906D2C8-C525-4DC7-91D8-106C1CA2C2F9</string>
 					<string>C272E2FA-3C95-4E0B-AD08-BF231835D06D</string>
 					<string>E5A5C098-E378-41BD-B1AA-17DF82ED17FC</string>
+					<string>D18C7B9D-E302-4662-BD42-B96D37DC5C2D</string>
 					<string>3CC5EA3A-EE93-47AD-87D7-9D49A5379EF0</string>
 					<string>250D4CEF-9E9C-4271-8122-CBF206356CC0</string>
 					<string>86508EA3-75A8-452D-B2DE-EF98A5EEF693</string>
 					<string>59274168-F721-4805-9137-28446DA86DD3</string>
+					<string>8B803CD0-586B-4238-8ED1-DC5459825D07</string>
 					<string>076CA943-A3D7-48DD-BC43-040F129A97F3</string>
 					<string>30FA38E8-6FE4-4D8B-A82C-B8C43D03DB2F</string>
+					<string>018EBAFA-319D-4CEB-ACB8-DC642103AEB2</string>
 					<string>6F149077-E77A-4AF9-B67F-79042371A746</string>
 					<string>0A450EBA-2893-4D35-891F-EE3B6F076021</string>
 					<string>3B6FFE93-3DE2-4460-B1FD-9CBE63854A44</string>
 					<string>3C750EC7-68C8-4245-9E15-504EFF865D84</string>
 					<string>34D4F7AF-882F-4EAA-A1C3-07BCCF5DE008</string>
 					<string>88DB3CCF-043C-4D30-8588-4A02F391D8FB</string>
+					<string>FEABC48C-8A16-411E-B5B6-ED43E266FF30</string>
 					<string>C57E295B-17FB-4C26-9811-A7E82E05E43E</string>
 					<string>6AE79495-5383-46B5-A3E5-54E8F90C3515</string>
 					<string>34AF2936-530E-4D6D-9E80-A157FE62F94F</string>
 					<string>138DCEBC-3854-434B-A868-EF511CD058E2</string>
 					<string>73946DBF-73C4-44D1-A6E3-A4FD161E392E</string>
 					<string>B9652A80-C5BA-4984-B197-44FB2536B6E6</string>
+					<string>4E7C577C-C8F9-438C-B11A-C93FA830EDD1</string>
 					<string>C61485BB-19B4-4975-965F-7BC4A03E24F8</string>
 					<string>B7173D17-A015-4E93-81AB-ADCDE49672B6</string>
+					<string>1C61804B-9A0D-452D-9DF3-BDFB8ED1280C</string>
 					<string>C82E59E1-850D-4398-A2F1-6C1F03DD96BA</string>
 					<string>2C233CCC-B683-447A-B513-80728B25FFCB</string>
 					<string>5304DE26-6752-4B58-8E15-A160F7C00725</string>
 				<key>name</key>
 				<string>Filters</string>
 			</dict>
+			<key>5EC7F41D-E1F0-4A06-8B70-171C191C0BA3</key>
+			<dict>
+				<key>items</key>
+				<array>
+					<string>43F0FCA9-1E10-4286-9D41-02F6065A6E8E</string>
+					<string>549349F9-DE08-4871-8C6E-F77FBF44DEAE</string>
+					<string>261F0951-914C-4D24-824F-7D78FE9BF1F6</string>
+					<string>373F257A-070E-4A98-90F9-573D4CF559D6</string>
+				</array>
+				<key>name</key>
+				<string>templatetag</string>
+			</dict>
 		</dict>
 	</dict>
 	<key>name</key>
 		<string>62F689B9-6665-44E8-9DCB-C1766018B369</string>
 		<string>8DAC9E08-BCE8-4520-96D5-0FDBAF86BA02</string>
 		<string>92042F5E-409D-47EC-BD2E-D436C4590241</string>
-		<string>1D44669D-218A-448D-A290-E1BAD8D3F7CD</string>
 		<string>BD0117AD-3FE8-4E5D-B935-43DB3DD784E7</string>
 		<string>3EAFA3AA-41D8-4C42-9D04-1FFB716EBAF0</string>
 		<string>CC3B379B-1273-41EB-BBE9-36E40A5432D7</string>
 		<string>36532EE4-CF10-48BB-B450-0A904F650668</string>
+		<string>B87EBD22-AA0E-4316-936B-58DB9D42DAF6</string>
 		<string>325B51A6-E4EA-4801-A0A4-48DA7FEA81D7</string>
 		<string>57A1CF54-7CA4-4ED2-A2F4-AFE0CF89D146</string>
 		<string>DD04692C-3D83-419E-8DEF-A69EE466426D</string>
 		<string>3E8EC5B9-FF4F-4441-88A7-63C6844E1635</string>
+		<string>4D891955-934B-474C-80F2-E4606632ED66</string>
 		<string>617F3D96-F893-4BE6-8AE5-B4B35E1DD7DC</string>
-		<string>17F3AFB0-F5BB-4C25-A5BE-454E5C929B67</string>
 		<string>43F0FCA9-1E10-4286-9D41-02F6065A6E8E</string>
 		<string>549349F9-DE08-4871-8C6E-F77FBF44DEAE</string>
 		<string>261F0951-914C-4D24-824F-7D78FE9BF1F6</string>
 		<string>373F257A-070E-4A98-90F9-573D4CF559D6</string>
+		<string>A3262BEA-D000-4AF3-832F-90FC6533EAC9</string>
+		<string>7E005925-3346-4AA4-B8BB-49A938BA192A</string>
+		<string>17F3AFB0-F5BB-4C25-A5BE-454E5C929B67</string>
+		<string>1D44669D-218A-448D-A290-E1BAD8D3F7CD</string>
 		<string>AB73645D-3A5D-41F0-9E91-15662F41EC03</string>
 		<string>7B68FB0B-DCA8-4F87-99B6-9724565D93B6</string>
+		<string>EF7FE84E-E3EC-4269-8D93-62E9E3555738</string>
 		<string>9E3A8849-E139-4980-B8DD-12DCD2A48759</string>
 		<string>14D09248-0188-454B-855C-F1257B294CB4</string>
 		<string>2D2308F8-0A20-4DA3-A3FE-F2A2624C2D42</string>
 		<string>5906D2C8-C525-4DC7-91D8-106C1CA2C2F9</string>
 		<string>C272E2FA-3C95-4E0B-AD08-BF231835D06D</string>
 		<string>E5A5C098-E378-41BD-B1AA-17DF82ED17FC</string>
+		<string>D18C7B9D-E302-4662-BD42-B96D37DC5C2D</string>
 		<string>250D4CEF-9E9C-4271-8122-CBF206356CC0</string>
 		<string>3CC5EA3A-EE93-47AD-87D7-9D49A5379EF0</string>
 		<string>86508EA3-75A8-452D-B2DE-EF98A5EEF693</string>
 		<string>59274168-F721-4805-9137-28446DA86DD3</string>
+		<string>8B803CD0-586B-4238-8ED1-DC5459825D07</string>
 		<string>076CA943-A3D7-48DD-BC43-040F129A97F3</string>
 		<string>30FA38E8-6FE4-4D8B-A82C-B8C43D03DB2F</string>
+		<string>018EBAFA-319D-4CEB-ACB8-DC642103AEB2</string>
 		<string>6F149077-E77A-4AF9-B67F-79042371A746</string>
 		<string>0A450EBA-2893-4D35-891F-EE3B6F076021</string>
 		<string>3B6FFE93-3DE2-4460-B1FD-9CBE63854A44</string>
 		<string>3C750EC7-68C8-4245-9E15-504EFF865D84</string>
 		<string>34D4F7AF-882F-4EAA-A1C3-07BCCF5DE008</string>
 		<string>88DB3CCF-043C-4D30-8588-4A02F391D8FB</string>
+		<string>FEABC48C-8A16-411E-B5B6-ED43E266FF30</string>
 		<string>C57E295B-17FB-4C26-9811-A7E82E05E43E</string>
 		<string>6AE79495-5383-46B5-A3E5-54E8F90C3515</string>
 		<string>138DCEBC-3854-434B-A868-EF511CD058E2</string>
 		<string>34AF2936-530E-4D6D-9E80-A157FE62F94F</string>
 		<string>73946DBF-73C4-44D1-A6E3-A4FD161E392E</string>
 		<string>B9652A80-C5BA-4984-B197-44FB2536B6E6</string>
+		<string>4E7C577C-C8F9-438C-B11A-C93FA830EDD1</string>
 		<string>C61485BB-19B4-4975-965F-7BC4A03E24F8</string>
-		<string>A3262BEA-D000-4AF3-832F-90FC6533EAC9</string>
 		<string>B7173D17-A015-4E93-81AB-ADCDE49672B6</string>
+		<string>1C61804B-9A0D-452D-9DF3-BDFB8ED1280C</string>
 		<string>C82E59E1-850D-4398-A2F1-6C1F03DD96BA</string>
 		<string>2C233CCC-B683-447A-B513-80728B25FFCB</string>
-		<string>7E005925-3346-4AA4-B8BB-49A938BA192A</string>
 		<string>5304DE26-6752-4B58-8E15-A160F7C00725</string>
 		<string>9CB3A992-3D7E-4C4F-AFB3-ABD22FCB23F9</string>
 		<string>BA12F855-9E5C-4B4F-AFB6-A992D62B94C4</string>
 		<string>6BC31FF7-5C04-4B50-B01B-FDEEC28C2432</string>
 		<string>649D2F54-31CB-4577-862E-E38593334D4A</string>
 		<string>20F0FE5C-BF8C-4258-8F93-3D6F62447068</string>
-		<string>649FDADA-8942-4AA7-9F6D-952805DC6DE4</string>
-		<string>EF7FE84E-E3EC-4269-8D93-62E9E3555738</string>
-		<string>D18C7B9D-E302-4662-BD42-B96D37DC5C2D</string>
-		<string>8B803CD0-586B-4238-8ED1-DC5459825D07</string>
-		<string>018EBAFA-319D-4CEB-ACB8-DC642103AEB2</string>
-		<string>FEABC48C-8A16-411E-B5B6-ED43E266FF30</string>
-		<string>4D891955-934B-474C-80F2-E4606632ED66</string>
-		<string>0AC27D80-BC73-4B04-87F2-848D90A86429</string>
-		<string>4E7C577C-C8F9-438C-B11A-C93FA830EDD1</string>
-		<string>1C61804B-9A0D-452D-9DF3-BDFB8ED1280C</string>
 	</array>
 	<key>uuid</key>
 	<string>636D6496-6201-4C95-B51C-007608BE98FF</string>

File Python Django.tmbundle/Snippets/Model Skeleton (model).tmSnippet

         verbose_name, verbose_name_plural = "${5:}", "${6:$5s}"}
 
     def __unicode__(self):
-        return u"$1"
-
-    ${7:def _get_absolute_url(self):
-        return ${8:('$1_detail', (), {${9:}\})
-    get_absolute_url = permalink(_get_absolute_url)}}
-</string>
+        return u"$1"</string>
 	<key>name</key>
 	<string>Model Skeleton</string>
 	<key>scope</key>