Skip to content

Commit

Permalink
git
Browse files Browse the repository at this point in the history
  • Loading branch information
CrzyHAX91 authored Dec 12, 2024
1 parent 9c1835e commit 973ebc6
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 362 deletions.
15 changes: 11 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
# Configuration file for Dependabot
# Dependabot configuration for version updates
# Specify package ecosystems and their respective locations for manifests.

version: 2

# Define the package manager and its configuration
updates:
- package-ecosystem: "pip" # Use pip as the package manager
directory: "requirements.txt" # Location of package manifests
directory: "/" # Location of the directory containing package manifests
schedule:
interval: "daily" # Check for updates daily
time: "02:00" # Perform updates at 2 AM UTC
timezone: "UTC" # Use the UTC timezone for updates
labels: "dependencies" # Optional: add a label to updates
assignees: ["username"] # Optional: assign updates to a specific user
labels: ["dependencies"] # Optional: add a label to updates
assignees: ["username"] # Optional: assign updates to a specific user
commit-message:
prefix: "fix" # Optional: prefix for commit messages
# Optional: specify dependencies to ignore for updates
ignore:
- dependency-name: "some-package" # Replace with the actual package name
versions: ["<2.0.0"] # Specify version constraints to ignore
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: Ubuntu 22.04.5
steps:
- uses: actions/checkout@v2
- name: Set up Python
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"workbench.editor.defaultBinaryEditor": "jupyter-notebook",
"python.analysis.autoImportCompletions": true
"python.analysis.autoImportCompletions": true,
"cmake.useCMakePresets": "always"
}
3 changes: 2 additions & 1 deletion dropship_project/views.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from django.shortcuts import get_object_or_404, render
from django.contrib.auth import login
from django.shortcuts import get_object_or_404, redirect, render
from django.http import JsonResponse
from django.db.models import F, Sum
from .models import Product, CartItem, Order
Expand Down
Loading

0 comments on commit 973ebc6

Please sign in to comment.