mirror of
https://github.com/daniviga/django-ram.git
synced 2025-10-19 09:00:32 +02:00
Implement support for sets and other improvements (#34)
* Add a boolean to define item as part of a set * Add contextual help in admin * Introduce support to sets and to item code lookup Also review the url path for pagination
This commit is contained in:
@@ -11,7 +11,10 @@ from ram.utils import DeduplicatedStorage, get_image_preview, slugify
|
||||
|
||||
class Property(models.Model):
|
||||
name = models.CharField(max_length=128, unique=True)
|
||||
private = models.BooleanField(default=False)
|
||||
private = models.BooleanField(
|
||||
default=False,
|
||||
help_text="Property will be only visible to logged users",
|
||||
)
|
||||
|
||||
class Meta:
|
||||
verbose_name_plural = "Properties"
|
||||
|
Reference in New Issue
Block a user