Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Nik Sauer committed Feb 24, 2025
2 parents 8a2e8f1 + 2847d91 commit 02c7eda
Show file tree
Hide file tree
Showing 4,126 changed files with 27,093 additions and 241 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
20 changes: 20 additions & 0 deletions app/devices/migrations/0020_device_created_at.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Generated by Django 5.1.5 on 2025-02-23 22:03

import django.utils.timezone
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('devices', '0019_alter_device_model_alter_modelcounter_model'),
]

operations = [
migrations.AddField(
model_name='device',
name='created_at',
field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now),
preserve_default=False,
),
]
1 change: 1 addition & 0 deletions app/devices/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class Device(models.Model):
notes = models.TextField(null=True, blank=True)
api_key = models.CharField(max_length=64, null=True)
auto_number = models.IntegerField(null=True, blank=True)
created_at = models.DateTimeField(auto_now_add=True)

current_room = models.ForeignKey(Room, related_name='current_devices', null=True, on_delete=models.SET_NULL, blank=True)
current_organization = models.ForeignKey(Organization, related_name='current_devices', null=True, on_delete=models.SET_NULL, blank=True)
Expand Down
4 changes: 4 additions & 0 deletions app/static/css/bootstrap-icons/0-circle-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/static/css/bootstrap-icons/0-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/static/css/bootstrap-icons/0-square-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/static/css/bootstrap-icons/0-square.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/1-circle-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/1-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/1-square-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/static/css/bootstrap-icons/1-square.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/123.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/2-circle-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/2-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/2-square-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/static/css/bootstrap-icons/2-square.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/3-circle-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/static/css/bootstrap-icons/3-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/3-square-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/static/css/bootstrap-icons/3-square.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/4-circle-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/static/css/bootstrap-icons/4-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/static/css/bootstrap-icons/4-square-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/static/css/bootstrap-icons/4-square.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/5-circle-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/5-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/5-square-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/static/css/bootstrap-icons/5-square.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/6-circle-fill.svg
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/6-circle.svg
4 changes: 4 additions & 0 deletions app/static/css/bootstrap-icons/6-square-fill.svg
4 changes: 4 additions & 0 deletions app/static/css/bootstrap-icons/6-square.svg
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/7-circle-fill.svg
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/7-circle.svg
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/7-square-fill.svg
4 changes: 4 additions & 0 deletions app/static/css/bootstrap-icons/7-square.svg
3 changes: 3 additions & 0 deletions app/static/css/bootstrap-icons/8-circle-fill.svg
Loading

0 comments on commit 02c7eda

Please sign in to comment.