mirror of
				https://github.com/django/django.git
				synced 2025-11-04 13:39:16 +00:00 
			
		
		
		
	Fixed #12135 -- Clarified custom template tag example. Thanks to EvilDMP for the report, and timo for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		
							parent
							
								
									fed660e425
								
							
						
					
					
						commit
						a0cf7f4bb9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -827,7 +827,7 @@ like so:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. code-block:: html+django
 | 
					.. code-block:: html+django
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    {% get_current_time "%Y-%M-%d %I:%M %p" as my_current_time %}
 | 
					    {% current_time "%Y-%M-%d %I:%M %p" as my_current_time %}
 | 
				
			||||||
    <p>The current time is {{ my_current_time }}.</p>
 | 
					    <p>The current time is {{ my_current_time }}.</p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
To do that, you'll need to refactor both the compilation function and ``Node``
 | 
					To do that, you'll need to refactor both the compilation function and ``Node``
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue